TF-2118 Handle drop n drop file as attachment

(cherry picked from commit cb1f15dcba46a15dbd5c5a8493593854855be331)
This commit is contained in:
dab246
2023-09-28 11:12:34 +07:00
committed by Dat H. Pham
parent 25b26acc42
commit 8b20e9e1d4
6 changed files with 105 additions and 8 deletions
@@ -258,7 +258,7 @@ class UploadController extends BaseController {
if (currentContext != null && currentOverlayContext != null) {
_appToast.showToastErrorMessage(
currentOverlayContext!,
AppLocalizations.of(currentContext!).can_not_upload_this_file_as_attachments,
'${AppLocalizations.of(currentContext!).can_not_upload_this_file_as_attachments}. ${failure.exception ?? ''}',
leadingSVGIconColor: Colors.white,
leadingSVGIcon: _imagePaths.icAttachment);
}