mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-15 11:45:31 +00:00
Handle condition where camera controller fails to initialize
This commit is contained in:
@ -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