TF-2628 Integrate view attachment feature with UI
This commit is contained in:
@@ -1453,7 +1453,14 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
||||
} 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