Updated on 2026-08-14

This commit is contained in:
Tangem 2023-09-20 13:18:19 +05:00
parent 107827522c
commit 7760104b57
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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,
)