fix links sometimes being underlined

This commit is contained in:
Conny Duck 2023-08-30 18:49:59 +02:00
parent 10a6b1616a
commit ee4f6f4b7f
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ fun setClickableText(view: TextView, content: CharSequence, mentions: List<Menti
val spannableContent = markupHiddenUrls(view.context, content) val spannableContent = markupHiddenUrls(view.context, content)
view.text = spannableContent.apply { view.text = spannableContent.apply {
getSpans(0, content.length, URLSpan::class.java).forEach { getSpans(0, spannableContent.length, URLSpan::class.java).forEach {
setClickableText(it, this, mentions, tags, listener) setClickableText(it, this, mentions, tags, listener)
} }
} }