Commit 8d6f41aa authored by bizzbyster's avatar bizzbyster

fix

parent 1663f58b
......@@ -172,7 +172,8 @@ class MessageParser @Inject constructor(val context: Application, private val co
if (!link.startsWith("@") && link !in consumed) {
builder.setSpan(object : ClickableSpan() {
override fun onClick(view: View) {
val customTabsIntent = CustomTabsIntent.Builder().build()
val tabsbuilder = CustomTabsIntent.Builder()
val customTabsIntent = tabsbuilder.build()
customTabsIntent.launchUrl(view.context, getUri(link))
}
}, matcher.start(0), matcher.end(0))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment