fix bug where sometimes a mention would be underlined

This commit is contained in:
Conny Duck 2018-01-29 22:11:12 +01:00
parent eba7445bac
commit 04b7c4a775
1 changed files with 4 additions and 0 deletions

View File

@ -116,6 +116,10 @@ public class LinkHelper {
};
builder.removeSpan(span);
builder.setSpan(newSpan, start, end, flags);
} else {
ClickableSpan newSpan = new CustomURLSpan(span.getURL());
builder.removeSpan(span);
builder.setSpan(newSpan, start, end, flags);
}
} else {
ClickableSpan newSpan = new CustomURLSpan(span.getURL());