mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Disable transformer swipe typing
This commit is contained in:
parent
10a8be824b
commit
cdb0bed56a
@ -194,6 +194,12 @@ class LanguageModel(
|
||||
return@withContext null
|
||||
}
|
||||
|
||||
// Disable gesture for now
|
||||
if(composedData.mIsBatchMode) {
|
||||
return@withContext null
|
||||
}
|
||||
|
||||
|
||||
var composeInfo = getComposeInfo(composedData, keyDetector)
|
||||
var context = getContext(composeInfo, ngramContext)
|
||||
|
||||
|
@ -251,6 +251,12 @@ public class LanguageModelFacilitator(
|
||||
holder.get(null, Constants.GET_SUGGESTED_WORDS_TIMEOUT.toLong())?.let { results ->
|
||||
job.cancel()
|
||||
inputLogic.mSuggestionStripViewAccessor.showSuggestionStrip(results)
|
||||
|
||||
if(values.composedData.mIsBatchMode) {
|
||||
inputLogic.showBatchSuggestions(results, values.inputStyle == SuggestedWords.INPUT_STYLE_TAIL_BATCH);
|
||||
}
|
||||
|
||||
sequenceIdFinishedFlow.emit(values.sequenceId)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user