Commit b9b68999 authored by bizzbyster's avatar bizzbyster

set toolbar color

parent 8d6f41aa
......@@ -173,6 +173,7 @@ class MessageParser @Inject constructor(val context: Application, private val co
builder.setSpan(object : ClickableSpan() {
override fun onClick(view: View) {
val tabsbuilder = CustomTabsIntent.Builder()
tabsbuilder.setToolbarColor(R.color.colorPrimary)
val customTabsIntent = tabsbuilder.build()
customTabsIntent.launchUrl(view.context, getUri(link))
}
......
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