2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 05:26:47 +00:00

Fix context issue for app title

This commit is contained in:
Oliver Walters 2021-05-20 00:11:05 +10:00
parent 8716f3d8a5
commit 3a2b906b77
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 0172ceec228779cbb10abc69d04f91678e26efd5 Subproject commit 37f45c92ec284ba97cae97b15cfc59d0400d18e1

View File

@ -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,