TF-3077 Remove stacktrace from error toast
This commit is contained in:
+1
-2
@@ -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()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user