Use Hive CE database to replace Hive database

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-06-18 00:57:30 +07:00
committed by Dat H. Pham
parent 23019ae030
commit 45cd1c3613
35 changed files with 163 additions and 81 deletions
@@ -1,4 +1,4 @@
import 'package:hive/hive.dart';
import 'package:hive_ce/hive.dart';
import 'package:tmail_ui_user/features/caching/clients/account_cache_client.dart';
import 'package:tmail_ui_user/features/login/data/model/account_cache.dart';
@@ -83,12 +83,12 @@ class MemoryAccountCacheClient implements AccountCacheClient {
}
@override
Future<Box<AccountCache>> openBox() {
Future<IsolatedBox<AccountCache>> openBox() {
throw UnimplementedError();
}
@override
Future<Box<AccountCache>> openBoxEncryption() {
Future<IsolatedBox<AccountCache>> openBoxEncryption() {
throw UnimplementedError();
}