TF-3077 Remove stacktrace from error toast

This commit is contained in:
DatDang
2024-09-05 10:08:04 +07:00
committed by Dat H. Pham
parent 095c836ef9
commit 9281262712
3 changed files with 1 additions and 22 deletions
@@ -1448,9 +1448,8 @@ class MailboxDashBoardController extends ReloadableController with UserSettingPo
if (currentOverlayContext != null && currentContext != null) {
appToast.showToastErrorMessage(
currentOverlayContext!,
AppLocalizations.of(currentContext!).toastMessageMarkAsReadFolderFailureWithReason(
AppLocalizations.of(currentContext!).toastMessageMarkAsReadFolderAllFailure(
failure.mailboxDisplayName,
failure.exception.toString()
)
);
}
-12
View File
@@ -3290,18 +3290,6 @@
"folderName": {}
}
},
"toastMessageMarkAsReadFolderFailureWithReason": "Folder \"{folderName}\" could not be marked as read. Due \"{reason}\"",
"@toastMessageMarkAsReadFolderFailureWithReason": {
"type": "text",
"placeholders_order": [
"folderName",
"reason"
],
"placeholders": {
"folderName": {},
"reason": {}
}
},
"sending": "Sending",
"@sending": {
"type": "text",
@@ -3398,14 +3398,6 @@ class AppLocalizations {
);
}
String toastMessageMarkAsReadFolderFailureWithReason(String folderName, String reason) {
return Intl.message(
'Folder "$folderName" could not be marked as read. Due "$reason"',
name: 'toastMessageMarkAsReadFolderFailureWithReason',
args: [folderName, reason]
);
}
String get sending {
return Intl.message(
'Sending',