mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix AutoText enabling timing"
This commit is contained in:
commit
6b05d482f4
@ -419,7 +419,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||
}
|
||||
|
||||
private void initSuggest() {
|
||||
updateAutoTextEnabled();
|
||||
String locale = mSubtypeSwitcher.getInputLocaleStr();
|
||||
|
||||
Locale savedLocale = mSubtypeSwitcher.changeSystemLocale(new Locale(locale));
|
||||
@ -433,6 +432,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||
int mainDicResId = Utils.getMainDictionaryResourceId(res);
|
||||
mSuggest = new Suggest(this, mainDicResId);
|
||||
loadAndSetAutoCorrectionThreshold(prefs);
|
||||
updateAutoTextEnabled();
|
||||
|
||||
mUserDictionary = new UserDictionary(this, locale);
|
||||
mSuggest.setUserDictionary(mUserDictionary);
|
||||
|
Loading…
x
Reference in New Issue
Block a user