TF-2667 Remove composer cache after close composer view

This commit is contained in:
dab246
2024-03-22 02:06:06 +07:00
committed by Dat H. Pham
parent 84ce77a46f
commit 5caf08290b
2 changed files with 15 additions and 2 deletions
@@ -171,6 +171,7 @@ class MailboxDashBoardBindings extends BaseBindings {
Get.find<UnsubscribeEmailInteractor>(),
Get.find<RestoredDeletedMessageInteractor>(),
Get.find<GetRestoredDeletedMessageInterator>(),
Get.find<RemoveComposerCacheOnWebInteractor>(),
));
Get.put(AdvancedFilterController());
}
@@ -276,6 +277,7 @@ class MailboxDashBoardBindings extends BaseBindings {
);
Get.lazyPut(() => GetComposerCacheOnWebInteractor(Get.find<ComposerCacheRepository>()));
Get.lazyPut(() => RemoveComposerCacheOnWebInteractor(Get.find<ComposerCacheRepository>()));
Get.lazyPut(() => RemoveComposerCacheOnWebInteractor(Get.find<ComposerCacheRepository>()));
Get.lazyPut(() => MarkAsEmailReadInteractor(
Get.find<EmailRepository>(),
Get.find<MailboxRepository>()