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