mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-08 23:54:39 +00:00
fix: vertically center items in zap amount popup row
The bolt-icon pill chips and the Tune settings button have different intrinsic heights, so FlowRow's default top alignment leaves the settings button visually higher than the chips. Set itemVerticalAlignment so every item is centered within the row.
This commit is contained in:
@@ -1982,6 +1982,7 @@ fun ZapAmountChoicePopupContent(
|
||||
modifier = Modifier.padding(horizontal = 5.dp, vertical = 5.dp),
|
||||
horizontalArrangement = Arrangement.Center,
|
||||
verticalArrangement = Arrangement.Center,
|
||||
itemVerticalAlignment = CenterVertically,
|
||||
) {
|
||||
zapAmountChoices.forEach { amountInSats ->
|
||||
ZapAmountChip(
|
||||
|
||||
Reference in New Issue
Block a user