TF-369 Fix auto close email when download attachment in browser with small screen
This commit is contained in:
@@ -450,7 +450,7 @@ class EmailView extends GetView with UserSettingPopupMenuMixin {
|
||||
..onExpandAttachmentActionClick(() => emailController.toggleDisplayAttachmentsAction())
|
||||
..onDownloadAttachmentFileActionClick((attachment) {
|
||||
if (kIsWeb) {
|
||||
emailController.downloadAttachmentForWeb(attachment);
|
||||
emailController.downloadAttachmentForWeb(context, attachment);
|
||||
} else {
|
||||
if (Platform.isAndroid) {
|
||||
emailController.downloadAttachments(context, [attachment]);
|
||||
|
||||
Reference in New Issue
Block a user