TF-2628 Temporary disable preview PDF
This commit is contained in:
@@ -1504,13 +1504,13 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
|||||||
exportAttachment(context, attachment);
|
exportAttachment(context, attachment);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onViewAttachmentFileAction: (attachment) {
|
// onViewAttachmentFileAction: (attachment) {
|
||||||
if (PlatformInfo.isWeb) {
|
// if (PlatformInfo.isWeb) {
|
||||||
viewAttachmentForWeb(attachment);
|
// viewAttachmentForWeb(attachment);
|
||||||
} else {
|
// } else {
|
||||||
exportAttachment(context, attachment);
|
// exportAttachment(context, attachment);
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
barrierColor: AppColor.colorDefaultCupertinoActionSheet,
|
barrierColor: AppColor.colorDefaultCupertinoActionSheet,
|
||||||
|
|||||||
@@ -350,13 +350,13 @@ class EmailView extends GetWidget<SingleEmailController> {
|
|||||||
controller.exportAttachment(context, attachment);
|
controller.exportAttachment(context, attachment);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
viewAttachmentAction: (attachment) {
|
// viewAttachmentAction: (attachment) {
|
||||||
if (PlatformInfo.isWeb) {
|
// if (PlatformInfo.isWeb) {
|
||||||
controller.viewAttachmentForWeb(attachment);
|
// controller.viewAttachmentForWeb(attachment);
|
||||||
} else {
|
// } else {
|
||||||
controller.exportAttachment(context, attachment);
|
// controller.exportAttachment(context, attachment);
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
onTapShowAllAttachmentFile: () => controller.openAttachmentList(context, controller.attachments),
|
onTapShowAllAttachmentFile: () => controller.openAttachmentList(context, controller.attachments),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user