fix region and title

This commit is contained in:
goapunk
2018-06-07 11:42:31 +02:00
parent 8bc28f99c1
commit 18c4195115
2 changed files with 7 additions and 7 deletions

View File

@@ -202,7 +202,7 @@ public class SettingsFragment extends PreferenceFragmentCompat
Locale locale = Localizer.getLocaleFromTag(tag);
if (locale == null)
throw new IllegalStateException();
String nativeName = locale.getDisplayLanguage(locale);
String nativeName = locale.getDisplayName(locale);
// Fallback to English if the name is unknown in both native and
// current locale.
if (nativeName.equals(tag)) {