Fix attachments cannot be export multiple times in mobile
This commit is contained in:
@@ -447,10 +447,7 @@ class EmailView extends GetWidget<SingleEmailController> {
|
||||
.disableAttachmentDraggableApp();
|
||||
},
|
||||
downloadAttachmentAction: (attachment) =>
|
||||
controller.handleDownloadAttachmentAction(
|
||||
context,
|
||||
attachment,
|
||||
),
|
||||
controller.handleDownloadAttachmentAction(attachment),
|
||||
viewAttachmentAction: (attachment) =>
|
||||
controller.handleViewAttachmentAction(
|
||||
context,
|
||||
@@ -464,7 +461,6 @@ class EmailView extends GetWidget<SingleEmailController> {
|
||||
controller.downloadAllButtonIsEnabled(),
|
||||
onTapDownloadAllButton: () =>
|
||||
controller.handleDownloadAllAttachmentsAction(
|
||||
context,
|
||||
'TwakeMail-${DateTime.now()}',
|
||||
),
|
||||
singleEmailControllerTag: tag,
|
||||
|
||||
Reference in New Issue
Block a user