You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there! I want to mention an issue that I encounter when using strings with annotations in compose, for example: <string name="string_name">Hello <annotation clickable="learnMore" color="primary" style="body">World</annotation></string>.
The phrase setup is done properly, and the theme is wrapped in Phrase composable.
Hi @Rares23, thanks for reporting this. That does not seem right when it behaves different when the SDK is enabled and looking into this. I'll keep you updated here
Hello there! I want to mention an issue that I encounter when using strings with annotations in compose, for example:
<string name="string_name">Hello <annotation clickable="learnMore" color="primary" style="body">World</annotation></string>
.The phrase setup is done properly, and the theme is wrapped in Phrase composable.
MainClass:
the issue is here
val spannableString = context.getText(stringRes) as? SpannedString
If I disable Phrase this works fine. When enabled, this returns null.
The text was updated successfully, but these errors were encountered: