mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Handle condition where camera controller fails to initialize
This commit is contained in:
parent
d25c47ccc3
commit
6690f10118
3 changed files with 30 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ void showSnackIcon(String text, {IconData? icon, Function()? onAction, bool? suc
|
|||
onAction();
|
||||
}
|
||||
),
|
||||
duration: Duration(seconds: onAction == null ? 1 : 2),
|
||||
duration: Duration(seconds: onAction == null ? 5 : 10),
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue