fix bug where sometimes a mention would be underlined
This commit is contained in:
parent
f18f759c10
commit
6305f19f0c
1 changed files with 4 additions and 0 deletions
|
@ -116,6 +116,10 @@ public class LinkHelper {
|
||||||
};
|
};
|
||||||
builder.removeSpan(span);
|
builder.removeSpan(span);
|
||||||
builder.setSpan(newSpan, start, end, flags);
|
builder.setSpan(newSpan, start, end, flags);
|
||||||
|
} else {
|
||||||
|
ClickableSpan newSpan = new CustomURLSpan(span.getURL());
|
||||||
|
builder.removeSpan(span);
|
||||||
|
builder.setSpan(newSpan, start, end, flags);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ClickableSpan newSpan = new CustomURLSpan(span.getURL());
|
ClickableSpan newSpan = new CustomURLSpan(span.getURL());
|
||||||
|
|
Loading…
Reference in a new issue