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) {
|
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()
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user