mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 10:45:29 +00:00
Update Requirements (#541)
* Update package requiremenst * github workflow updates * ios build updates * Theme adjustments * Further updates * Fix typo * Deprecated imperative apply of Flutter's Gradle plugins Ref: https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply * Refactor wedge scanner * Add context checks * Adjust behaviour if testing * Further refactoring * Moar checks * Logic fix * Fix for wedge scanner test * Fix for barcode processing * Fix * Yet another fix
This commit is contained in:
@ -1393,7 +1393,7 @@ class InvenTreeAPI {
|
||||
// Find the current locale code for the running app
|
||||
String get currentLocale {
|
||||
|
||||
if (OneContext.hasContext) {
|
||||
if (hasContext()) {
|
||||
// Try to get app context
|
||||
BuildContext? context = OneContext().context;
|
||||
|
||||
|
Reference in New Issue
Block a user