Use blacklist for swipe input

This commit is contained in:
Aleksandras Kostarevas 2024-05-16 14:41:50 -05:00
parent b59aa89363
commit c021a142ba

View File

@ -297,6 +297,14 @@ public class LanguageModelFacilitator(
results
}
finalResults.mSuggestedWordInfoList.removeAll {
!suggestionBlacklist.isSuggestedWordOk(it)
}
finalResults.mRawSuggestions?.removeAll {
!suggestionBlacklist.isSuggestedWordOk(it)
}
inputLogic.mSuggestionStripViewAccessor.showSuggestionStrip(finalResults)
if(values.composedData.mIsBatchMode) {