Updated on 2026-08-14
This commit is contained in:
parent
c7f606807f
commit
0869c78f17
1 changed files with 2 additions and 6 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue