Fix incorrect fallback language

This commit is contained in:
Ming Ming 2021-08-10 16:04:13 +08:00
parent 9409eda9b6
commit f07e641026

View file

@ -59,7 +59,12 @@ class _MyAppState extends State<MyApp> implements SnackBarHandler {
scaffoldMessengerKey: _scaffoldMessengerKey,
locale: language_util.getSelectedLocale(context),
localizationsDelegates: AppLocalizations.localizationsDelegates,
supportedLocales: AppLocalizations.supportedLocales,
supportedLocales: <Locale>[
Locale("en"),
Locale("el"),
Locale("es"),
Locale("fr"),
],
debugShowCheckedModeBanner: false,
);
}