🐛 Use only lang code on localization to fix not found bug
This commit is contained in:
parent
654a71e852
commit
9498d428cd
@ -35,6 +35,7 @@ class SolianApp extends StatelessWidget {
|
||||
supportedLocales: [Locale('en', 'US'), Locale('zh', 'CN')],
|
||||
fallbackLocale: Locale('en', 'US'),
|
||||
useFallbackTranslations: true,
|
||||
useOnlyLangCode: true,
|
||||
assetLoader: JsonAssetLoader(),
|
||||
child: MultiProvider(
|
||||
providers: [
|
||||
|
Loading…
Reference in New Issue
Block a user