Updated on 2026-08-14

This commit is contained in:
Tangem 2024-01-16 14:56:40 +01:00
parent 0b7e1f6bb5
commit 0b00f8f277
6 changed files with 13 additions and 4 deletions

View file

@ -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
}