Merge branch 'soru/fix-add-locale' into 'master'
Add new locales to array See merge request ChristianPauly/fluffychat-flutter!87
This commit is contained in:
commit
a5e57b0efa
|
@ -8,7 +8,8 @@ class AppLocalizationsDelegate extends LocalizationsDelegate<L10n> {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool isSupported(Locale locale) {
|
bool isSupported(Locale locale) {
|
||||||
return ['en', 'de', 'hu', 'pl', 'fr'].contains(locale.languageCode);
|
return ['en', 'de', 'hu', 'pl', 'fr', 'cs', 'es', 'sk']
|
||||||
|
.contains(locale.languageCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
Loading…
Reference in a new issue