mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix getMiddleDisplayLanguage
Change-Id: Ia73d74b122069197ac471879e5f1cee34f31b182
This commit is contained in:
parent
1123bcaf2e
commit
12e07767a1
@ -608,7 +608,7 @@ public class SubtypeSwitcher {
|
||||
}
|
||||
|
||||
public static String getMiddleDisplayLanguage(Locale locale) {
|
||||
return toTitleCase(locale.getDisplayLanguage(new Locale(locale.getLanguage())));
|
||||
return toTitleCase((new Locale(locale.getLanguage()).getDisplayLanguage(locale)));
|
||||
}
|
||||
|
||||
public static String getShortDisplayLanguage(Locale locale) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user