mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-08 00:02:05 +00:00
Handle condition where camera controller fails to initialize
This commit is contained in:
1 parent
d25c47ccc3
commit
6690f10118
3 files changed
+30
-1
No files matched your search
@@ -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),
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user