From d47fb246615541a1c47b1b34c58516377e93408a Mon Sep 17 00:00:00 2001 From: Brandon McAnsh Date: Mon, 4 May 2026 11:45:05 -0400 Subject: [PATCH] style(discovery): use secondary text color for negative holder delta Use textSecondary instead of error red for negative holder count changes in the currencies list to reduce visual noise. Signed-off-by: Brandon McAnsh --- .../app/discovery/internal/components/TokenMetricsRow.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/flipcash/features/discovery/src/main/kotlin/com/flipcash/app/discovery/internal/components/TokenMetricsRow.kt b/apps/flipcash/features/discovery/src/main/kotlin/com/flipcash/app/discovery/internal/components/TokenMetricsRow.kt index 5d1a44fa1..c2e1e7060 100644 --- a/apps/flipcash/features/discovery/src/main/kotlin/com/flipcash/app/discovery/internal/components/TokenMetricsRow.kt +++ b/apps/flipcash/features/discovery/src/main/kotlin/com/flipcash/app/discovery/internal/components/TokenMetricsRow.kt @@ -9,7 +9,7 @@ import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.size import androidx.compose.foundation.layout.width import androidx.compose.foundation.shape.CircleShape -import androidx.compose.material.Text +import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.ui.Alignment @@ -130,7 +130,10 @@ internal fun TokenMetricsRow( Text( modifier = Modifier.alignByBaseline(), text = deltaForWindow, - color = change.color, + color = when (change) { + LineTrend.Down -> CodeTheme.colors.textSecondary + LineTrend.Up -> change.color + }, style = CodeTheme.typography.caption, ) }