From bdc0c192576b41ce48fcce0ee102bf499479a4c6 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 18 Jun 2026 23:08:48 +0000 Subject: [PATCH] fix: give road event comment an explicit on-surface color The comment Text inherited LocalContentColor, which resolved to a near-white in this card and made the report content hard to read on the light map card. Color it onSurface so it stays readable in both themes. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_017tYbcy4UGWxqQbcycyL7Yd --- .../java/com/vitorpamplona/amethyst/ui/note/types/RoadEvent.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/RoadEvent.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/RoadEvent.kt index b9f111aaff..3594b98919 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/RoadEvent.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/RoadEvent.kt @@ -226,6 +226,7 @@ private fun RoadEventCard( Text( text = comment, style = MaterialTheme.typography.bodyMedium, + color = MaterialTheme.colorScheme.onSurface, maxLines = 4, overflow = TextOverflow.Ellipsis, )