Links in user bios can be clicked on.

This commit is contained in:
Vavassor 2017-02-01 15:20:39 -05:00
commit cad060282b
2 changed files with 11 additions and 4 deletions

View file

@ -106,7 +106,8 @@ public class StatusViewHolder extends RecyclerView.ViewHolder {
public void setContent(Spanned content, Status.Mention[] mentions,
final StatusActionListener listener) {
// Redirect URLSpan's in the status content to the listener for viewing tag pages.
/* Redirect URLSpan's in the status content to the listener for viewing tag pages and
* account pages. */
SpannableStringBuilder builder = new SpannableStringBuilder(content);
URLSpan[] urlSpans = content.getSpans(0, content.length(), URLSpan.class);
for (URLSpan span : urlSpans) {