Show user's uncorrected word as the third option

This commit is contained in:
Aleksandras Kostarevas 2023-11-02 23:05:21 +02:00
parent 8bb38c7ae3
commit d1e54b9d3d

View File

@ -263,7 +263,11 @@ fun RowScope.SuggestionItems(words: SuggestedWords, onClick: (i: Int) -> Unit) {
for (i in 0 until maxSuggestions) { for (i in 0 until maxSuggestions) {
val remapped = ORDER_OF_SUGGESTIONS[i] val remapped = if(offset == 1 && i == 2) {
0 - offset
} else {
ORDER_OF_SUGGESTIONS[i]
}
SuggestionItem( SuggestionItem(
words, words,