ComposeTokenizer: try to fix test 2

main
Alibek Omarov 4 years ago
parent c6219e3581
commit 992f2ec02c
  1. 2
      app/src/main/java/com/keylesspalace/tusky/util/ComposeTokenizer.kt

@ -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

Loading…
Cancel
Save