Hi when I use annotated string part of which with custom spanstyle color, the default style is not affected by app dark theme
The "Moxiti post" is being drawn with custom color but the remaining without style is being drawn in black regardless of dark theme change
rsktash
10/14/2021, 8:04 AM
The issue seems to be related to ClickableText
rsktash
10/14/2021, 8:14 AM
I had to set style manually
Copy code
val textStyle = LocalTextStyle.current
val textColor = textStyle.color.takeOrElse {
LocalContentColor.current.copy(alpha = LocalContentAlpha.current)
}
ClickableText(
style = textStyle.copy(color = textColor)
...