Migrate Hive box To IsolatedHive box

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-06-27 23:44:35 +07:00
committed by Dat H. Pham
parent 000a2e3985
commit 8d83650f33
28 changed files with 964 additions and 334 deletions
@@ -158,7 +158,7 @@ class MailboxCacheDataSourceImpl extends MailboxDataSource {
@override
Future<void> clearAllMailboxCache(AccountId accountId, UserName userName) {
return Future.sync(() async {
return await _mailboxCacheManager.clearAll(accountId, userName);
return await _mailboxCacheManager.deleteByKey(accountId, userName);
}).catchError(_exceptionThrower.throwException);
}