From 20dae4d147d0c4cc51d33d2f5f7a8f68a3fcfb01 Mon Sep 17 00:00:00 2001 From: Kgothatso Ngako Date: Fri, 1 May 2026 19:45:39 +0200 Subject: [PATCH] Format unsupported text output. --- .../compose/ui/composable/widgets/content/RichContent.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/content/RichContent.kt b/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/content/RichContent.kt index 8bc9ea9e..6dd3739a 100644 --- a/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/content/RichContent.kt +++ b/composeApp/src/commonMain/kotlin/ac/cord/auxiliary/compose/ui/composable/widgets/content/RichContent.kt @@ -385,7 +385,9 @@ fun RichContent( // } else -> { Text( - text = segment.toString() + text = segment.toString(), + style = style, + color = MaterialTheme.colorScheme.primary ) } }