@@ -20,6 +20,7 @@ import to.bitkit.models.PrimaryDisplay
2020import to.bitkit.ui.LocalBalances
2121import to.bitkit.ui.LocalCurrencies
2222import to.bitkit.ui.components.BalanceHeaderView
23+ import to.bitkit.ui.components.BodySSB
2324import to.bitkit.ui.components.Keyboard
2425import to.bitkit.ui.components.OutlinedColorButton
2526import to.bitkit.ui.components.PrimaryButton
@@ -59,23 +60,29 @@ fun SendAmountScreen(
5960
6061 Spacer (modifier = Modifier .height(24 .dp))
6162
63+ Text13Up (
64+ text = stringResource(R .string.wallet__send_available),
65+ color = Colors .White64 ,
66+ )
67+ Spacer (modifier = Modifier .height(8 .dp))
68+
6269 Row (
63- verticalAlignment = Alignment .Bottom ,
70+ verticalAlignment = Alignment .CenterVertically ,
6471 ) {
65- Column {
66- val balances = LocalBalances .current
67- Text13Up (
68- text = stringResource( R .string.wallet__send_available) ,
69- color = Colors . White64 ,
70- )
71- Spacer (modifier = Modifier .height( 8 .dp))
72- Text (
73- text = when (uiState.payMethod) {
74- SendMethod .ONCHAIN -> moneyString( balances.totalOnchainSats .toLong())
75- SendMethod . LIGHTNING -> moneyString(balances.totalLightningSats.toLong())
76- }
77- )
78- }
72+ val balances = LocalBalances .current
73+ BodySSB (
74+ text = " ₿ " ,
75+ color = Colors . White64 ,
76+ )
77+ Spacer (modifier = Modifier .width( 4 .dp) )
78+ BodySSB (
79+ text = when (uiState.payMethod) {
80+ SendMethod . ONCHAIN -> balances.totalOnchainSats.toLong().toString()
81+ SendMethod .LIGHTNING -> balances.totalLightningSats .toLong().toString( )
82+ },
83+ color = Colors . White
84+ )
85+
7986 Spacer (modifier = Modifier .weight(1f ))
8087 OutlinedColorButton (
8188 onClick = { onEvent(SendEvent .PaymentMethodSwitch ) },
0 commit comments