mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix the spacebar language switcher"
This commit is contained in:
commit
c82b8dbd4a
@ -83,6 +83,7 @@ public class LanguageSwitcher {
|
|||||||
String currentLanguage = sp.getString(Settings.PREF_INPUT_LANGUAGE, null);
|
String currentLanguage = sp.getString(Settings.PREF_INPUT_LANGUAGE, null);
|
||||||
if (TextUtils.isEmpty(selectedLanguages)) {
|
if (TextUtils.isEmpty(selectedLanguages)) {
|
||||||
mSelectedLanguageArray = EMPTY_STIRNG_ARRAY;
|
mSelectedLanguageArray = EMPTY_STIRNG_ARRAY;
|
||||||
|
mSelectedLanguages = null;
|
||||||
loadDefaults();
|
loadDefaults();
|
||||||
if (mLocales.size() == 0) {
|
if (mLocales.size() == 0) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user