fixed incorrect input mode state when trying to type while the dictionary is loading
This commit is contained in:
parent
50fedcad13
commit
b323794bf7
1 changed files with 1 additions and 0 deletions
|
|
@ -263,6 +263,7 @@ public abstract class TypingHandler extends KeyPadHandler {
|
|||
|
||||
protected void getSuggestions() {
|
||||
if (mInputMode instanceof ModePredictive && DictionaryLoader.getInstance(this).isRunning()) {
|
||||
mInputMode.reset();
|
||||
UI.toast(this, R.string.dictionary_loading_please_wait);
|
||||
} else {
|
||||
mInputMode.loadSuggestions(this::handleSuggestions, suggestionOps.getCurrent());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue