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) { if (currentOverlayContext != null && currentContext != null) {
appToast.showToastErrorMessage( appToast.showToastErrorMessage(
currentOverlayContext!, currentOverlayContext!,
AppLocalizations.of(currentContext!).toastMessageMarkAsReadFolderFailureWithReason( AppLocalizations.of(currentContext!).toastMessageMarkAsReadFolderAllFailure(
failure.mailboxDisplayName, failure.mailboxDisplayName,
failure.exception.toString()
) )
); );
} }
-12
View File
@@ -3290,18 +3290,6 @@
"folderName": {} "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": "Sending",
"@sending": { "@sending": {
"type": "text", "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 { String get sending {
return Intl.message( return Intl.message(
'Sending', 'Sending',