TF-2901 Implement getting cache composer on log in

This commit is contained in:
DatDang
2024-06-18 15:24:20 +07:00
committed by Dat H. Pham
parent b2c92388f2
commit fc25194b02
3 changed files with 41 additions and 36 deletions
@@ -1,5 +1,6 @@
import 'package:core/data/model/source_type/data_source_type.dart';
import 'package:core/presentation/resources/image_paths.dart';
import 'package:core/presentation/utils/html_transformer/html_transform.dart';
import 'package:core/utils/config/app_config_loader.dart';
import 'package:core/utils/file_utils.dart';
import 'package:core/utils/print_utils.dart';
@@ -232,7 +233,9 @@ class MailboxDashBoardBindings extends BaseBindings {
Get.lazyPut(() => MailboxCacheDataSourceImpl(
Get.find<MailboxCacheManager>(),
Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => SessionStorageComposerDatasourceImpl());
Get.lazyPut(() => SessionStorageComposerDatasourceImpl(
Get.find<HtmlTransform>(),
Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => SpamReportDataSourceImpl(
Get.find<SpamReportApi>(),
Get.find<RemoteExceptionThrower>(),