mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 13:36:50 +00:00
Fix context issue for app title
This commit is contained in:
parent
8716f3d8a5
commit
3a2b906b77
2
lib/l10n
2
lib/l10n
@ -1 +1 @@
|
|||||||
Subproject commit 0172ceec228779cbb10abc69d04f91678e26efd5
|
Subproject commit 37f45c92ec284ba97cae97b15cfc59d0400d18e1
|
@ -59,7 +59,7 @@ class InvenTreeApp extends StatelessWidget {
|
|||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
builder: OneContext().builder,
|
builder: OneContext().builder,
|
||||||
navigatorKey: OneContext().key,
|
navigatorKey: OneContext().key,
|
||||||
onGenerateTitle: (BuildContext context) => L10().appTitle,
|
onGenerateTitle: (BuildContext context) => I18N.of(context).appTitle,
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
primarySwatch: Colors.lightBlue,
|
primarySwatch: Colors.lightBlue,
|
||||||
secondaryHeaderColor: Colors.blueGrey,
|
secondaryHeaderColor: Colors.blueGrey,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user