fix: Only check flag forceEmailQuery when switch mailbox
This commit is contained in:
@@ -253,7 +253,7 @@ class LoginController extends ReloadableController {
|
|||||||
Future<void> handleReloaded(Session session) async {
|
Future<void> handleReloaded(Session session) async {
|
||||||
SmartDialog.dismiss();
|
SmartDialog.dismiss();
|
||||||
|
|
||||||
if (PlatformInfo.isWeb && AppConfig.isForceEmailQueryEnabled) {
|
if (PlatformInfo.isWeb) {
|
||||||
await cachingManager.clearAllEmailAndStateCache();
|
await cachingManager.clearAllEmailAndStateCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user