Hi when I use annotated string part of which with ...
# compose
r
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
The issue seems to be related to ClickableText
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)
...
like this