mirror of https://github.com/m2049r/xmrwallet.git
fix langauge list
This commit is contained in:
parent
3610781f43
commit
ce084927e1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue