fix(cnb): skip local email cache and add safe email/state cache clearing
(cherry picked from commit 0e7f589df58240badc1d2340e9856882aa075b63)
This commit is contained in:
@@ -11,7 +11,7 @@ class UpgradeHiveDatabaseStepsV13 extends UpgradeDatabaseSteps {
|
||||
@override
|
||||
Future<void> onUpgrade(int oldVersion, int newVersion) async {
|
||||
if (oldVersion > 0 && oldVersion < newVersion && newVersion == 13) {
|
||||
await _cachingManager.clearMailboxCache();
|
||||
await _cachingManager.clearMailboxAndStateCache();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user