mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Show user's uncorrected word as the third option
This commit is contained in:
parent
8bb38c7ae3
commit
d1e54b9d3d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user