mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix a silly bug.
This would prevent user history to work at all. Bug: 7023638 Change-Id: I5d8867a07fb8859325d274e956ae667c094d0ac1
This commit is contained in:
parent
48643b0e0d
commit
32f6503a27
@ -251,7 +251,7 @@ public class ExpandableDictionary extends Dictionary {
|
||||
public ArrayList<SuggestedWordInfo> getSuggestions(final WordComposer composer,
|
||||
final CharSequence prevWord, final ProximityInfo proximityInfo) {
|
||||
if (reloadDictionaryIfRequired()) return null;
|
||||
if (composer.size() <= 1) {
|
||||
if (composer.size() > 1) {
|
||||
if (composer.size() >= BinaryDictionary.MAX_WORD_LENGTH) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user