Skip to content

Commit

Permalink
fix: adapt to richtext API change
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Shandilya <[email protected]>
  • Loading branch information
msfjarvis authored Dec 9, 2024
1 parent 44cf586 commit b5714b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ internal fun ThemedRichText(text: String, modifier: Modifier = Modifier) {
fontWeight = FontWeight.Bold,
textDecoration = TextDecoration.Underline,
)
val stringStyle = RichTextStringStyle.Default.copy(linkStyle = linkStyle)
val stringStyle = RichTextStringStyle(linkStyle = linkStyle)
CompositionLocalProvider(
LocalTextStyle provides MaterialTheme.typography.bodyLarge,
LocalContentColor provides MaterialTheme.colorScheme.onBackground,
Expand Down

0 comments on commit b5714b1

Please sign in to comment.