mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Use blacklist for swipe input
This commit is contained in:
parent
b59aa89363
commit
c021a142ba
@ -297,6 +297,14 @@ public class LanguageModelFacilitator(
|
|||||||
results
|
results
|
||||||
}
|
}
|
||||||
|
|
||||||
|
finalResults.mSuggestedWordInfoList.removeAll {
|
||||||
|
!suggestionBlacklist.isSuggestedWordOk(it)
|
||||||
|
}
|
||||||
|
|
||||||
|
finalResults.mRawSuggestions?.removeAll {
|
||||||
|
!suggestionBlacklist.isSuggestedWordOk(it)
|
||||||
|
}
|
||||||
|
|
||||||
inputLogic.mSuggestionStripViewAccessor.showSuggestionStrip(finalResults)
|
inputLogic.mSuggestionStripViewAccessor.showSuggestionStrip(finalResults)
|
||||||
|
|
||||||
if(values.composedData.mIsBatchMode) {
|
if(values.composedData.mIsBatchMode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user