Updated on 2026-08-14
This commit is contained in:
parent
81bd9875e0
commit
51fdf64677
11 changed files with 1428 additions and 1463 deletions
|
|
@ -315,7 +315,6 @@ internal class StateBuilder(
|
|||
private fun getWarningsForSuccessState(
|
||||
quoteModel: SwapState.QuotesLoadedState,
|
||||
fromToken: CryptoCurrency,
|
||||
ignoreAmountReduce: Boolean,
|
||||
selectedFeeType: FeeType,
|
||||
): List<SwapWarning> {
|
||||
val warnings = mutableListOf<SwapWarning>()
|
||||
|
|
|
|||
|
|
@ -172,14 +172,6 @@ internal sealed class TokenDetailsNotification(val config: NotificationConfig) {
|
|||
subtitle = resourceReference(id = R.string.no_account_send_to_create),
|
||||
)
|
||||
|
||||
class HasPendingTransactions(val coinSymbol: String) : Informational(
|
||||
title = resourceReference(R.string.warning_send_blocked_pending_transactions_title),
|
||||
subtitle = resourceReference(
|
||||
id = R.string.warning_send_blocked_pending_transactions_message,
|
||||
formatArgs = wrappedList(coinSymbol),
|
||||
),
|
||||
)
|
||||
|
||||
data class NetworkShutdown(private val title: TextReference, private val subtitle: TextReference) : Warning(
|
||||
title = title,
|
||||
subtitle = subtitle,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ import com.tangem.blockchain.common.Blockchain
|
|||
import com.tangem.blockchainsdk.utils.fromNetworkId
|
||||
import com.tangem.core.ui.utils.BigDecimalFormatter
|
||||
import com.tangem.core.ui.extensions.resourceReference
|
||||
import com.tangem.domain.common.extensions.fromNetworkId
|
||||
import com.tangem.domain.tokens.model.CryptoCurrency
|
||||
import com.tangem.domain.tokens.model.warnings.CryptoCurrencyWarning
|
||||
import com.tangem.feature.tokendetails.presentation.tokendetails.state.TokenDetailsState
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue