mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-05 14:57:59 +00:00
Fix delegate issue
This commit is contained in:
1 parent
71c16e0556
commit
95c3bc5ae5
2 files changed
+2
-2
No files matched your search
@@ -105,7 +105,7 @@ def generate_locale_list(locales):
|
||||
lc = locale
|
||||
cc = ''
|
||||
|
||||
output.write(f' const Locale("{lc}", "{cc}"), // Translations avilable in app_{locale}.arb\n')
|
||||
output.write(f' const Locale("{lc}", "{cc}"), // Translations available in app_{locale}.arb\n')
|
||||
|
||||
output.write("];\n")
|
||||
output.write("")
|
||||
|
||||
+1
-1
@@ -71,9 +71,9 @@ class InvenTreeApp extends StatelessWidget {
|
||||
localizationsDelegates: [
|
||||
I18N.delegate,
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
],
|
||||
locale: const Locale("hu"),
|
||||
supportedLocales: supported_locales,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user