From 0869c78f1707971be80cc01799b9e139c58ae60f Mon Sep 17 00:00:00 2001 From: Tangem Date: Mon, 22 Jun 2026 14:30:48 +0200 Subject: [PATCH] Updated on 2026-08-14 --- .../main/java/com/tangem/feature/swap/model/SwapModel.kt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/features/swap/impl/src/main/java/com/tangem/feature/swap/model/SwapModel.kt b/features/swap/impl/src/main/java/com/tangem/feature/swap/model/SwapModel.kt index c23995df13..a54036ab54 100644 --- a/features/swap/impl/src/main/java/com/tangem/feature/swap/model/SwapModel.kt +++ b/features/swap/impl/src/main/java/com/tangem/feature/swap/model/SwapModel.kt @@ -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) {