TF-4274 Avoid clearing all caches on refresh for non‑web platforms
This commit is contained in:
@@ -254,7 +254,11 @@ class LoginController extends ReloadableController {
|
||||
SmartDialog.dismiss();
|
||||
|
||||
if (PlatformInfo.isWeb) {
|
||||
await cachingManager.clearAllEmailAndStateCache();
|
||||
try {
|
||||
await cachingManager.clearAllEmailAndStateCache();
|
||||
} catch (e) {
|
||||
logWarning('$runtimeType::handleReloaded: Failed to clear cache: $e');
|
||||
}
|
||||
}
|
||||
|
||||
popAndPush(
|
||||
|
||||
Reference in New Issue
Block a user