Updated on 2026-08-14
This commit is contained in:
parent
a7ab7abbfb
commit
9531146e8f
1 changed files with 2 additions and 1 deletions
|
|
@ -164,7 +164,8 @@ internal class SwapNotificationsFactory(
|
|||
cryptoCurrencyStatus = fromCurrencyStatus,
|
||||
onReduceClick = { reduceBy, reduceByDiff, _ ->
|
||||
actions.onReduceByAmount(
|
||||
amount.copy(value = amount.value.minus(reduceByDiff)),
|
||||
// use in swap notification amountToRequest because fee is already subtracted
|
||||
amountToRequest.copy(value = amountToRequest.value.minus(reduceByDiff)),
|
||||
reduceBy,
|
||||
)
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue