From adb59eb276b2cfe2c6e3aaa7493089e812dd7942 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 22:06:43 +0000 Subject: [PATCH] fix(profile): tint the cashu chip icon and brighten its purple MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Cashu vector is a monochrome black outline meant to be tinted like a Material Symbol — with Color.Unspecified it rendered black and vanished on dark backgrounds. Tint it with the chip color and lift the purple from 0xFF7E57C2 to 0xFFA855F7 so the chip reads on both themes. --- .../loggedIn/profile/header/ProfilePaymentRailChips.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/header/ProfilePaymentRailChips.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/header/ProfilePaymentRailChips.kt index e7202ff41b..bd556972e8 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/header/ProfilePaymentRailChips.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/header/ProfilePaymentRailChips.kt @@ -66,7 +66,7 @@ import com.vitorpamplona.amethyst.ui.theme.Size16Modifier import kotlinx.coroutines.launch import androidx.compose.material3.Icon as M3Icon -private val CashuPurple = Color(0xFF7E57C2) +private val CashuPurple = Color(0xFFA855F7) /** * One FlowRow of tappable chips for every rail the Send Payment screen can pay @@ -159,10 +159,13 @@ fun DisplayPaymentRailChips( label = stringRes(R.string.send_payment_method_cashu), onClick = { openSendPayment(ProfilePaymentMethod.CASHU) }, ) { + // The Cashu vector is a monochrome outline drawn in black, + // meant to be tinted like a Material Symbol — untinted it + // disappears on dark backgrounds. M3Icon( imageVector = CustomHashTagIcons.Cashu, contentDescription = null, - tint = Color.Unspecified, + tint = CashuPurple, modifier = Size16Modifier, ) }