TF-2769 Remove stacktrace of exception from UI

This commit is contained in:
DatDang
2024-04-10 17:29:59 +07:00
committed by Dat H. Pham
parent 7bc466bea3
commit b4e9ca3e74
2 changed files with 2 additions and 2 deletions
@@ -280,7 +280,7 @@ class UploadController extends BaseController {
if (currentContext != null && currentOverlayContext != null) {
appToast.showToastErrorMessage(
currentOverlayContext!,
'${AppLocalizations.of(currentContext!).can_not_upload_this_file_as_attachments}. ${failure.exception ?? ''}',
AppLocalizations.of(currentContext!).can_not_upload_this_file_as_attachments,
leadingSVGIconColor: Colors.white,
leadingSVGIcon: imagePaths.icAttachment);
}