Updated on 2026-08-14
This commit is contained in:
parent
0b7e1f6bb5
commit
0b00f8f277
6 changed files with 13 additions and 4 deletions
|
|
@ -2,6 +2,7 @@ package com.tangem.tap.features.send.redux.reducers
|
|||
|
||||
import com.tangem.blockchain.common.AmountType
|
||||
import com.tangem.blockchain.common.Blockchain
|
||||
import com.tangem.blockchain.common.FeePaidCurrency
|
||||
import com.tangem.tap.common.CurrencyConverter
|
||||
import com.tangem.tap.common.entities.IndeterminateProgressButton
|
||||
import com.tangem.tap.features.send.redux.*
|
||||
|
|
@ -109,7 +110,8 @@ private class PrepareSendScreenStatesReducer : SendInternalReducer {
|
|||
}
|
||||
|
||||
private fun isFeePaidInNetworkCurrency(blockchain: Blockchain): Boolean =
|
||||
blockchain.tokenTransactionFeePaidInNetworkCurrency()
|
||||
// blockchain.tokenTransactionFeePaidInNetworkCurrency()
|
||||
blockchain.feePaidCurrency() == FeePaidCurrency.SameCurrency // TODO [REDACTED_TASK_KEY]
|
||||
|
||||
private fun isCoinAmount(typeOfAmount: AmountType): Boolean = typeOfAmount == AmountType.Coin
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue