mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-14 11:15: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(
|
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,
|
||||||
|
Reference in New Issue
Block a user