TF-438 Delete all state to refresh when logout

This commit is contained in:
dab246
2022-11-24 14:37:07 +07:00
committed by Dat H. Pham
parent a0628326dd
commit 44bf37a246
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -58,7 +58,7 @@ class LocalBindings extends Bindings {
Get.put(RecentLoginUsernameCacheClient());
Get.put(RecentLoginUsernameCacheManager(Get.find<RecentLoginUsernameCacheClient>()));
Get.put(FcmTokenCacheClient());
Get.put(FCMCacheManager((Get.find<FcmTokenCacheClient>())));
Get.put(FCMCacheManager(Get.find<FcmTokenCacheClient>(), Get.find<SharedPreferences>()));
Get.put(CachingManager(
Get.find<MailboxCacheClient>(),
Get.find<StateCacheClient>(),
@@ -66,6 +66,7 @@ class LocalBindings extends Bindings {
Get.find<RecentSearchCacheClient>(),
Get.find<AccountCacheClient>(),
Get.find<FcmTokenCacheClient>(),
Get.find<FCMCacheManager>()
));
}