Skip to content

Commit b2c0944

Browse files
committed
fix: implement Caption13Up in text "To"
1 parent d42068e commit b2c0944

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import androidx.compose.ui.text.font.FontWeight
2020
import androidx.compose.ui.tooling.preview.Preview
2121
import androidx.compose.ui.unit.dp
2222
import to.bitkit.R
23+
import to.bitkit.ui.components.Caption13Up
2324
import to.bitkit.viewmodels.SendEvent
2425
import to.bitkit.viewmodels.SendUiState
2526
import to.bitkit.ui.components.PrimaryButton
@@ -48,12 +49,8 @@ fun SendAddressScreen(
4849
val focusRequester = remember { FocusRequester() }
4950
LaunchedEffect(Unit) { focusRequester.requestFocus() }
5051

51-
Text(
52-
text = stringResource(R.string.wallet__send_to),
53-
style = MaterialTheme.typography.labelSmall,
54-
fontWeight = FontWeight.Normal,
55-
)
56-
Spacer(modifier = Modifier.height(4.dp))
52+
Caption13Up(text = stringResource(R.string.wallet__send_to))
53+
Spacer(modifier = Modifier.height(16.dp))
5754
TextField(
5855
placeholder = { Text(stringResource(R.string.address_placeholder)) },
5956
value = uiState.addressInput,

0 commit comments

Comments
 (0)