1
mirror of https://github.com/m2049r/xmrwallet synced 2024-11-21 20:30:10 +01:00

fix langauge list

This commit is contained in:
m2049r 2022-10-22 11:32:44 +02:00
parent 3610781f43
commit ce084927e1
No known key found for this signature in database
GPG Key ID: 4386E69AF260078D

View File

@ -35,7 +35,8 @@ public class LocaleHelper {
String[] availableLocales = context.getString(R.string.available_locales).split(",");
for (String localeName : availableLocales) {
locales.add(Locale.forLanguageTag(localeName));
if (!localeName.startsWith("night") && !localeName.matches("v[0-9]+"))
locales.add(Locale.forLanguageTag(localeName));
}
return locales;