Fix language fallback
This commit is contained in:
parent
041f02ad14
commit
e9d723518d
1 changed files with 1 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ class _MainAppState extends State<MainApp> {
|
|||
return MaterialApp(
|
||||
localizationsDelegates: AppLocalizations.localizationsDelegates,
|
||||
supportedLocales: AppLocalizations.supportedLocales,
|
||||
localeResolutionCallback: (locale, supported) => supported.firstWhere((l) => l.languageCode == 'en'),
|
||||
theme: ThemeData(
|
||||
colorScheme: ColorScheme.fromSeed(
|
||||
seedColor: Colors.green,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue