Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-22 14:30:48 +02:00
parent c7f606807f
commit 0869c78f17

View file

@ -1834,12 +1834,8 @@ internal class SwapModel @Inject constructor(
decimals = fromCurrency.status.currency.decimals,
percent = percent,
)
applyCryptoAmount(
SwapAmount(
value = newValue,
decimals = fromCurrency.status.currency.decimals,
).formatToUIRepresentation(),
)
applyCryptoAmount(newValue.toPlainString())
}
private fun onReduceAmountClicked(newAmount: SwapAmount, reduceBalanceBy: BigDecimal = BigDecimal.ZERO) {