Skip to content

Commit 09b23b5

Browse files
committed
fix: buttons dimensions
1 parent 75fbaed commit 09b23b5

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

app/src/main/java/to/bitkit/ui/screens/wallets/send/SendAmountScreen.kt

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,22 +87,29 @@ fun SendAmountScreen(
8787
color = when (uiState.payMethod) {
8888
SendMethod.ONCHAIN -> Colors.Brand
8989
SendMethod.LIGHTNING -> Colors.Purple
90-
}
90+
},
91+
modifier = Modifier.height(28.dp)
9192
) {
92-
Text(
93+
Text13Up(
9394
text = when (uiState.payMethod) {
9495
SendMethod.ONCHAIN -> stringResource(R.string.savings)
9596
SendMethod.LIGHTNING -> stringResource(R.string.spending)
97+
},
98+
color = when (uiState.payMethod) {
99+
SendMethod.ONCHAIN -> Colors.Brand
100+
SendMethod.LIGHTNING -> Colors.Purple
96101
}
97102
)
98103
}
99104
Spacer(modifier = Modifier.width(8.dp))
100-
UnitButton()
105+
UnitButton(
106+
modifier = Modifier.height(28.dp)
107+
)
101108
}
102109

103110
Spacer(modifier = Modifier.weight(1f))
104111

105-
HorizontalDivider(modifier = Modifier.padding(vertical = 32.dp))
112+
HorizontalDivider(modifier = Modifier.padding(vertical = 24.dp))
106113

107114
Keyboard(
108115
onClick = { number -> onEvent(SendEvent.AmountChange(number)) },

0 commit comments

Comments
 (0)