mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Fix context issue for app title
This commit is contained in:
parent
8716f3d8a5
commit
3a2b906b77
2 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue