TF-2310 Use singleton for HiveCacheConfig to avoid creating multiple instance
This commit is contained in:
@@ -129,7 +129,7 @@ class CachingManager {
|
||||
}
|
||||
|
||||
Future<void> closeHive() async {
|
||||
return await HiveCacheConfig().closeHive();
|
||||
return await HiveCacheConfig.instance.closeHive();
|
||||
}
|
||||
|
||||
Future<void> clearAllFileInStorage() async {
|
||||
|
||||
Reference in New Issue
Block a user