1
0
mirror of https://github.com/accelforce/Yuito synced 2025-02-08 23:58:46 +01:00

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 f18f759c10
commit 6305f19f0c

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());