TF-2310 Use singleton for HiveCacheConfig to avoid creating multiple instance
This commit is contained in:
@@ -78,7 +78,7 @@ class SendingEmailWorker extends Worker {
|
||||
Future<void> bindDI() async {
|
||||
await Future.wait([
|
||||
MainBindings().dependencies(),
|
||||
HiveCacheConfig().setUp()
|
||||
HiveCacheConfig.instance.setUp()
|
||||
]);
|
||||
|
||||
await Future.sync(() {
|
||||
|
||||
Reference in New Issue
Block a user