fix: update link color on start
This commit is contained in:
parent
9a4d13e279
commit
631dd63448
|
@ -69,7 +69,6 @@ internal fun MainScreen(
|
||||||
textSize = 16.sp.value
|
textSize = 16.sp.value
|
||||||
setLineSpacing(3.dp.value, 1f)
|
setLineSpacing(3.dp.value, 1f)
|
||||||
gravity = Gravity.CENTER_HORIZONTAL
|
gravity = Gravity.CENTER_HORIZONTAL
|
||||||
setLinkTextColor(linkColor)
|
|
||||||
Linkify.addLinks(this, Linkify.WEB_URLS)
|
Linkify.addLinks(this, Linkify.WEB_URLS)
|
||||||
Linkify.addLinks(this, Linkify.EMAIL_ADDRESSES)
|
Linkify.addLinks(this, Linkify.EMAIL_ADDRESSES)
|
||||||
}
|
}
|
||||||
|
@ -78,6 +77,7 @@ internal fun MainScreen(
|
||||||
.padding(bottom = paddingValues.calculateBottomPadding())
|
.padding(bottom = paddingValues.calculateBottomPadding())
|
||||||
.padding(40.dp),
|
.padding(40.dp),
|
||||||
update = { textView ->
|
update = { textView ->
|
||||||
|
textView.setLinkTextColor(linkColor)
|
||||||
textView.setTextColor(textColor)
|
textView.setTextColor(textColor)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue