From f4ee8aac4489bfb34f7ddaf125f10ae53ed357a3 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 25 Jun 2026 21:22:10 +0000 Subject: [PATCH] feat(ui): tint nutzap cashu icon orange in notification and reaction galleries The cashu outline icon next to author avatars in the nutzap galleries rendered in the default content color, while the lightning equivalent (ZappedIcon) uses BitcoinOrange. Tint the cashu mark BitcoinOrange in the reaction-row gallery (NutzapGallery), the notification multi-set gallery (MultiSetCompose), and the notification user-set card (NutzapUserSetCompose) so nutzaps read as value transfers consistent with lightning zaps. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01QEFq9cUPECuB8F56sTtWXu --- .../com/vitorpamplona/amethyst/ui/note/MultiSetCompose.kt | 4 ++++ .../java/com/vitorpamplona/amethyst/ui/note/NutzapGallery.kt | 5 +++++ .../vitorpamplona/amethyst/ui/note/NutzapUserSetCompose.kt | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/MultiSetCompose.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/MultiSetCompose.kt index 672ce202f6..5ad8181715 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/MultiSetCompose.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/MultiSetCompose.kt @@ -91,6 +91,7 @@ import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel import com.vitorpamplona.amethyst.ui.screen.loggedIn.notifications.CombinedZap import com.vitorpamplona.amethyst.ui.screen.loggedIn.notifications.MultiSetCard import com.vitorpamplona.amethyst.ui.stringRes +import com.vitorpamplona.amethyst.ui.theme.BitcoinOrange import com.vitorpamplona.amethyst.ui.theme.HalfTopPadding import com.vitorpamplona.amethyst.ui.theme.NotificationIconModifier import com.vitorpamplona.amethyst.ui.theme.NotificationIconModifierSmaller @@ -390,6 +391,9 @@ fun RenderNutzapGallery( imageVector = CustomHashTagIcons.Cashu, contentDescription = stringRes(R.string.nutzap), modifier = Modifier.size(Size20dp).align(Alignment.TopEnd), + // Tint the monochrome cashu outline brand orange so the nutzap + // gallery matches the lightning ZappedIcon in RenderZapGallery. + tint = BitcoinOrange, ) } diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NutzapGallery.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NutzapGallery.kt index 4283371205..9430a87884 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NutzapGallery.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NutzapGallery.kt @@ -44,6 +44,7 @@ import com.vitorpamplona.amethyst.ui.navigation.navs.INav import com.vitorpamplona.amethyst.ui.navigation.routes.routeFor import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel import com.vitorpamplona.amethyst.ui.stringRes +import com.vitorpamplona.amethyst.ui.theme.BitcoinOrange import com.vitorpamplona.amethyst.ui.theme.Size20dp import com.vitorpamplona.amethyst.ui.theme.Size35Modifier import com.vitorpamplona.amethyst.ui.theme.StdStartPadding @@ -94,6 +95,10 @@ private fun RenderNutzapGalleryRow( imageVector = CustomHashTagIcons.Cashu, contentDescription = stringRes(R.string.nutzap), modifier = Modifier.size(Size20dp).align(Alignment.TopEnd), + // Tint the monochrome cashu outline brand orange so it reads as + // a value transfer, matching the lightning ZappedIcon in the + // sibling zap gallery. + tint = BitcoinOrange, ) } diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NutzapUserSetCompose.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NutzapUserSetCompose.kt index c40ef4da95..81e844a19d 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NutzapUserSetCompose.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/NutzapUserSetCompose.kt @@ -43,6 +43,7 @@ import com.vitorpamplona.amethyst.ui.navigation.routes.routeFor import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel import com.vitorpamplona.amethyst.ui.screen.loggedIn.notifications.NutzapUserSetCard import com.vitorpamplona.amethyst.ui.stringRes +import com.vitorpamplona.amethyst.ui.theme.BitcoinOrange import com.vitorpamplona.amethyst.ui.theme.DoubleVertSpacer import com.vitorpamplona.amethyst.ui.theme.Size25dp import com.vitorpamplona.amethyst.ui.theme.Size55Modifier @@ -113,6 +114,9 @@ fun NutzapUserSetCompose( imageVector = CustomHashTagIcons.Cashu, contentDescription = stringRes(R.string.nutzap), modifier = Modifier.size(Size25dp).align(Alignment.TopEnd), + // Tint the monochrome cashu outline brand orange so it + // matches the lightning ZappedIcon in the zap set card. + tint = BitcoinOrange, ) } }