Updated on 2026-08-14

This commit is contained in:
Tangem 2026-04-20 17:22:27 +02:00
parent b04f28cf04
commit 109edf4608
7 changed files with 13 additions and 6 deletions

View file

@ -40,7 +40,7 @@ fun AmountBlockV2(
isClickDisabled: Boolean,
isEditingDisabled: Boolean,
modifier: Modifier = Modifier,
showApproximatePrefix: Boolean = false,
shouldShowApproximatePrefix: Boolean = false,
onClick: (() -> Unit)? = null,
extraContent: @Composable () -> Unit = {},
) {
@ -73,7 +73,7 @@ fun AmountBlockV2(
balance = amountState.availableBalanceCrypto,
currencyTitle = currencyTitle,
currencyIconState = amountState.tokenIconState,
firstAmount = if (showApproximatePrefix) StringsSigns.TILDE_SIGN + firstAmount else firstAmount,
firstAmount = if (shouldShowApproximatePrefix) StringsSigns.TILDE_SIGN + firstAmount else firstAmount,
secondAmount = secondAmount,
isClickDisabled = isClickDisabled,
isEditingDisabled = isEditingDisabled,