API error messages now use snackIcon

- Press "details" for further error information
- Is nice
This commit is contained in:
Oliver Walters 2021-02-17 08:00:41 +11:00
parent 8ae4d2b584
commit 00943b7536
9 changed files with 108 additions and 109 deletions

View file

@ -283,7 +283,7 @@ class _InvenTreeLoginSettingsState extends State<InvenTreeLoginSettingsWidget> {
// Navigator.of(context, rootNavigator: true).pop();
confirmationDialog(
I18N.of(context).delete,
"Delete this profile?",
I18N.of(context).profileDelete + "?",
onAccept: () {
_deleteProfile(profile);
}