mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Reduce max typed word length
This commit is contained in:
parent
da95c69668
commit
1c9c94b83d
@ -240,7 +240,7 @@ public class LanguageModelFacilitator(
|
||||
try {
|
||||
inputLogic.mWordComposer.setAutoCorrection(null)
|
||||
|
||||
if(values.composedData.mTypedWord.length > BinaryDictionary.DICTIONARY_MAX_WORD_LENGTH) {
|
||||
if(values.composedData.mTypedWord.length > BinaryDictionary.DICTIONARY_MAX_WORD_LENGTH-1) {
|
||||
inputLogic.mSuggestionStripViewAccessor.setNeutralSuggestionStrip()
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user