Updated on 2026-08-14
This commit is contained in:
parent
5e4d8a9113
commit
c8acba2f3b
3 changed files with 3 additions and 3 deletions
|
|
@ -56,7 +56,7 @@ class RequestFeeMiddleware {
|
|||
dispatch(FeeAction.FeeCalculation.SetFeeResult(result))
|
||||
when(result) {
|
||||
is TransactionFee.Single -> {
|
||||
val fee = result.value.value ?: BigDecimal.ZERO
|
||||
val fee = result.normal.value ?: BigDecimal.ZERO
|
||||
if (fee.isZero()) {
|
||||
dispatch(FeeAction.ChangeLayoutVisibility(main = false))
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ class FeeReducer : SendInternalReducer {
|
|||
private fun createValueOfFeeAmount(feeType: FeeType, transactionFee: TransactionFee): Amount {
|
||||
return when (transactionFee) {
|
||||
is TransactionFee.Single -> {
|
||||
transactionFee.value
|
||||
transactionFee.normal
|
||||
}
|
||||
is TransactionFee.Choosable -> {
|
||||
when (feeType) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue