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
1 changed files with 2 additions and 1 deletions

View File

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