ComposeTokenizer: try to fix test 3

main
Alibek Omarov 4 years ago
parent 4fa1fb6522
commit 12e95a7190
  1. 2
      app/src/main/java/com/keylesspalace/tusky/util/ComposeTokenizer.kt

@ -49,7 +49,7 @@ class ComposeTokenizer : MultiAutoCompleteTextView.Tokenizer {
// don't ask me about this code
if(i > 3 && character == '@') {
var j = i - 1
var character2 = text[i - 1]
var character2 = text[i - 2]
while(j > 0 && character2 != '@') {
if(!isMentionOrHashtagAllowedCharacter(character2)) {

Loading…
Cancel
Save