Remove closeBox when open box in hive database

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-05-30 10:08:02 +07:00
committed by Dat H. Pham
parent 19cede1a5f
commit 02c2e08e40
12 changed files with 11 additions and 45 deletions
@@ -47,6 +47,4 @@ class AccountCacheManager {
log('AccountCacheManager::deleteCurrentAccount(): $hashId');
return _accountCacheClient.deleteItem(hashId);
}
Future<void> closeAccountHiveCacheBox() => _accountCacheClient.closeBox();
}
@@ -25,6 +25,4 @@ class AuthenticationInfoCacheManager {
Future<void> removeAuthenticationInfo() {
return _authenticationInfoCacheClient.deleteItem(AuthenticationInfoCache.keyCacheValue);
}
Future<void> closeAuthenticationInfoHiveCacheBox() => _authenticationInfoCacheClient.closeBox();
}
@@ -34,6 +34,4 @@ class TokenOidcCacheManager {
Future<void> deleteTokenOidc() async {
await _tokenOidcCacheClient.clearAllData();
}
Future<void> closeTokenOIDCHiveCacheBox() => _tokenOidcCacheClient.closeBox();
}