From a8e4263863a172a6c73b38a9152830c71a284dc1 Mon Sep 17 00:00:00 2001 From: Brandon McAnsh Date: Mon, 27 Jul 2026 14:46:34 -0400 Subject: [PATCH] fix(tips): optically center share icon in tip card button The ic_remote_send glyph is bottom-heavy (a wide upload tray beneath a thin arrow), so geometric centering inside CircularIconButton leaves it sitting visually low in the circle. Nudge the icon up ~1.5dp at the tip card call site to optically center it, without touching the shared drawable used elsewhere. --- .../app/tipping/internal/screens/TipCardScreen.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/flipcash/features/tipping/src/main/kotlin/com/flipcash/app/tipping/internal/screens/TipCardScreen.kt b/apps/flipcash/features/tipping/src/main/kotlin/com/flipcash/app/tipping/internal/screens/TipCardScreen.kt index fa6553039..f50ce234f 100644 --- a/apps/flipcash/features/tipping/src/main/kotlin/com/flipcash/app/tipping/internal/screens/TipCardScreen.kt +++ b/apps/flipcash/features/tipping/src/main/kotlin/com/flipcash/app/tipping/internal/screens/TipCardScreen.kt @@ -8,6 +8,7 @@ import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.navigationBarsPadding +import androidx.compose.foundation.layout.offset import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.requiredSize import androidx.compose.material3.Icon @@ -75,7 +76,12 @@ internal fun TipCardScreen() { painter = painterResource(R.drawable.ic_remote_send), contentDescription = null, tint = Color.White, - modifier = Modifier.requiredSize(size), + // The send glyph is bottom-heavy (wide tray below a thin arrow), + // so geometric centering leaves it sitting visually low in the + // circle. Nudge it up slightly to optically center it. + modifier = Modifier + .requiredSize(size) + .offset(y = (-1.5).dp), ) } Text(