mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 18:25:26 +00:00
Fix context issue for app title
This commit is contained in:
2
lib/l10n
2
lib/l10n
Submodule lib/l10n updated: 0172ceec22...37f45c92ec
@ -59,7 +59,7 @@ class InvenTreeApp extends StatelessWidget {
|
||||
return MaterialApp(
|
||||
builder: OneContext().builder,
|
||||
navigatorKey: OneContext().key,
|
||||
onGenerateTitle: (BuildContext context) => L10().appTitle,
|
||||
onGenerateTitle: (BuildContext context) => I18N.of(context).appTitle,
|
||||
theme: ThemeData(
|
||||
primarySwatch: Colors.lightBlue,
|
||||
secondaryHeaderColor: Colors.blueGrey,
|
||||
|
Reference in New Issue
Block a user