mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Bug fixes (#637)
* Fix formatting * Handle case where server does not provide permissions information * Enhanced URL checks * Enhanced check * Fix for error dialog * Bump version information
This commit is contained in:
parent
762d1ae156
commit
52879c0fc2
4 changed files with 50 additions and 29 deletions
|
|
@ -228,13 +228,15 @@ Future<void> showServerError(String url, String title, String description) async
|
|||
playAudioFile("sounds/server_error.mp3");
|
||||
}
|
||||
|
||||
description += "\nURL: $url";
|
||||
|
||||
showSnackIcon(
|
||||
title,
|
||||
success: false,
|
||||
actionText: L10().details,
|
||||
onAction: () {
|
||||
showErrorDialog(
|
||||
L10().serverError,
|
||||
title,
|
||||
description: description,
|
||||
icon: TablerIcons.server
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue