Updated on 2026-08-14
This commit is contained in:
commit
7497197298
5 changed files with 10 additions and 9 deletions
|
|
@ -17,7 +17,7 @@
|
|||
},
|
||||
{
|
||||
"name": "LOCAL_USER_LOGS_ENABLED",
|
||||
"version": "5.11.0"
|
||||
"version": "5.12.0"
|
||||
},
|
||||
{
|
||||
"name": "GENERATE_XPUB_ENABLED",
|
||||
|
|
@ -25,6 +25,6 @@
|
|||
},
|
||||
{
|
||||
"name": "WC_SOLANA_TX_SIGN_ENABLED",
|
||||
"version": "5.11.0"
|
||||
"version": "undefined"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package com.tangem.domain.demo
|
||||
|
||||
import com.tangem.blockchain.BuildConfig
|
||||
import com.tangem.blockchain.common.Amount
|
||||
import com.tangem.blockchain.common.Blockchain
|
||||
import java.math.BigDecimal
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@ import com.tangem.feature.swap.domain.models.ui.FeeType
|
|||
|
||||
sealed class FeeItemState {
|
||||
|
||||
/**
|
||||
* @param amountCrypto - crypto amount formatted with symbol
|
||||
* @param amountFiatFormatted - formatted fiat amount
|
||||
*/
|
||||
data class Content(
|
||||
val feeType: FeeType,
|
||||
val title: TextReference,
|
||||
|
|
|
|||
|
|
@ -472,9 +472,7 @@ internal class StateBuilder(
|
|||
warnings.add(
|
||||
SwapWarning.GeneralWarning(
|
||||
createNetworkFeeCoverageNotificationConfig(
|
||||
quoteModel.fromTokenInfo.tokenAmount.getFormattedCryptoAmount(
|
||||
quoteModel.fromTokenInfo.cryptoCurrencyStatus.currency,
|
||||
),
|
||||
fee.feeCryptoFormatted,
|
||||
fee.feeFiatFormatted,
|
||||
),
|
||||
),
|
||||
|
|
@ -572,7 +570,7 @@ internal class StateBuilder(
|
|||
warnings.add(getWarningForError(dataError, fromToken.cryptoCurrencyStatus.currency))
|
||||
if (includeFeeInAmount is IncludeFeeInAmount.Included && uiStateHolder.fee is FeeItemState.Content) {
|
||||
val feeCoverageNotification = createNetworkFeeCoverageNotificationConfig(
|
||||
fromToken.tokenAmount.getFormattedCryptoAmount(fromToken.cryptoCurrencyStatus.currency),
|
||||
uiStateHolder.fee.amountCrypto,
|
||||
uiStateHolder.fee.amountFiatFormatted,
|
||||
)
|
||||
warnings.add(SwapWarning.GeneralWarning(feeCoverageNotification))
|
||||
|
|
|
|||
|
|
@ -86,9 +86,9 @@ markdown = "0.7.2"
|
|||
# endregion Other libraries
|
||||
|
||||
# region Tangem
|
||||
tangemBlockchainSdk = "release-app_5.10-639"
|
||||
tangemBlockchainSdk = "release-app_5.11-661"
|
||||
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
|
||||
tangemCardSdk = "release-app_5.10-363"
|
||||
tangemCardSdk = "release-app_5.11-365"
|
||||
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^
|
||||
# endregion Tangem
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue