fix: put back Russian language

set EasyLocalization to not save language locally.
This commit is contained in:
MikeWallaceDev 2022-02-05 13:13:48 -05:00
parent 62bafce0b2
commit 1796d0a448

View File

@ -29,13 +29,16 @@ class AppWidgetTask extends LaunchTask {
runApp(
EasyLocalization(
supportedLocales: const [
// In alphabetical order
Locale('en'),
Locale('zh', 'CN'),
Locale('it', 'IT'),
Locale('fr', 'CA'),
Locale('it', 'IT'),
Locale('ru', 'RU'),
Locale('zh', 'CN'),
],
path: 'assets/translations',
fallbackLocale: const Locale('en'),
saveLocale: false,
child: app,
),
);