TF-1115 Implement catch exception for ContactDataSource

This commit is contained in:
dab246
2022-10-28 12:38:21 +07:00
committed by Dat H. Pham
parent 2f392232bc
commit 34aa2fe875
4 changed files with 22 additions and 11 deletions
@@ -70,7 +70,7 @@ class ComposerBindings extends BaseBindings {
void bindingsDataSourceImpl() {
Get.lazyPut(() => AttachmentUploadDataSourceImpl(Get.find<FileUploader>()));
Get.lazyPut(() => ComposerDataSourceImpl(Get.find<DownloadClient>(), Get.find<RemoteExceptionThrower>()));
Get.lazyPut(() => ContactDataSourceImpl());
Get.lazyPut(() => ContactDataSourceImpl(Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => MailboxDataSourceImpl(
Get.find<MailboxAPI>(),
Get.find<MailboxIsolateWorker>(),