TF-389 Fix can not see the attachment in EmailView

This commit is contained in:
dab246
2022-03-28 12:04:29 +07:00
committed by Dat H. Pham
parent f639fdc0d8
commit bab7619840
4 changed files with 10 additions and 7 deletions
@@ -384,7 +384,7 @@ class EmailView extends GetView with UserSettingPopupMenuMixin {
if (success is LoadingState) {
return AttachmentsPlaceHolderLoading(responsiveUtils: responsiveUtils);
} else {
final attachments = emailController.attachments.attachmentsWithDispositionAttachment;
final attachments = emailController.attachments.listAttachmentsDisplayedOutSide;
return attachments.isNotEmpty
? _buildAttachmentsBody(context, attachments)
: SizedBox.shrink();