TF-3450 Add text attachment preview
This commit is contained in:
@@ -24,6 +24,7 @@ import 'package:tmail_ui_user/features/email/domain/usecases/export_attachment_i
|
||||
import 'package:tmail_ui_user/features/email/domain/usecases/get_email_content_interactor.dart';
|
||||
import 'package:tmail_ui_user/features/email/domain/usecases/get_image_data_from_attachment_interactor.dart';
|
||||
import 'package:tmail_ui_user/features/email/domain/usecases/get_stored_email_state_interactor.dart';
|
||||
import 'package:tmail_ui_user/features/email/domain/usecases/get_text_data_from_attachment_interactor.dart';
|
||||
import 'package:tmail_ui_user/features/email/domain/usecases/mark_as_email_read_interactor.dart';
|
||||
import 'package:tmail_ui_user/features/email/domain/usecases/mark_as_star_email_interactor.dart';
|
||||
import 'package:tmail_ui_user/features/email/domain/usecases/move_to_mailbox_interactor.dart';
|
||||
@@ -86,6 +87,7 @@ class EmailBindings extends BaseBindings {
|
||||
Get.find<DownloadAllAttachmentsForWebInteractor>(),
|
||||
Get.find<ExportAllAttachmentsInteractor>(),
|
||||
Get.find<GetImageDataFromAttachmentInteractor>(),
|
||||
Get.find<GetTextDataFromAttachmentInteractor>(),
|
||||
));
|
||||
}
|
||||
|
||||
@@ -187,6 +189,9 @@ class EmailBindings extends BaseBindings {
|
||||
Get.lazyPut(() => GetImageDataFromAttachmentInteractor(
|
||||
Get.find<DownloadAttachmentForWebInteractor>(),
|
||||
));
|
||||
Get.lazyPut(() => GetTextDataFromAttachmentInteractor(
|
||||
Get.find<DownloadAttachmentForWebInteractor>(),
|
||||
));
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user