fix bug where sometimes a mention would be underlined
This commit is contained in:
parent
f18f759c10
commit
6305f19f0c
|
@ -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 New Issue