ComposeTokenizer: try to fix test 3
This commit is contained in:
parent
7295ace378
commit
866e725d9c
|
@ -49,7 +49,7 @@ class ComposeTokenizer : MultiAutoCompleteTextView.Tokenizer {
|
||||||
// don't ask me about this code
|
// don't ask me about this code
|
||||||
if(i > 3 && character == '@') {
|
if(i > 3 && character == '@') {
|
||||||
var j = i - 1
|
var j = i - 1
|
||||||
var character2 = text[i - 1]
|
var character2 = text[i - 2]
|
||||||
|
|
||||||
while(j > 0 && character2 != '@') {
|
while(j > 0 && character2 != '@') {
|
||||||
if(!isMentionOrHashtagAllowedCharacter(character2)) {
|
if(!isMentionOrHashtagAllowedCharacter(character2)) {
|
||||||
|
|
Loading…
Reference in New Issue