ComposeTokenizer: try to fix test 2

This commit is contained in:
Alibek Omarov 2020-10-05 23:08:31 +03:00
parent e394eb6a5c
commit b5ffbfe000

View File

@ -57,7 +57,7 @@ class ComposeTokenizer : MultiAutoCompleteTextView.Tokenizer {
}
j--
character2 = if (i == 0) ' ' else text[i - 1]
character2 = if (j == 0) ' ' else text[j - 1]
}
if(character2 == '@') {
i = j