Updated on 2026-08-14
This commit is contained in:
parent
107827522c
commit
7760104b57
2 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ sealed class TokenDetailsNotification(open val config: NotificationConfig) {
|
|||
),
|
||||
)
|
||||
|
||||
data class NetworkFeeFee(
|
||||
data class NetworkFee(
|
||||
private val feeInfo: CryptoCurrencyWarning.BalanceNotEnoughForFee,
|
||||
private val onBuyClick: () -> Unit,
|
||||
) : TokenDetailsNotification(
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ internal class TokenDetailsNotificationConverter(
|
|||
|
||||
private fun mapToNotification(warning: CryptoCurrencyWarning): TokenDetailsNotification {
|
||||
return when (warning) {
|
||||
is CryptoCurrencyWarning.BalanceNotEnoughForFee -> TokenDetailsNotification.NetworkFeeFee(
|
||||
is CryptoCurrencyWarning.BalanceNotEnoughForFee -> TokenDetailsNotification.NetworkFee(
|
||||
feeInfo = warning,
|
||||
onBuyClick = clickIntents::onBuyClick,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue