Updated on 2026-08-14

This commit is contained in:
Tangem 2024-09-30 17:19:39 +05:00
parent a107ddd36e
commit a00ea0a438
14 changed files with 696 additions and 843 deletions

View file

@ -1,5 +1,6 @@
package com.tangem.features.staking.impl.presentation.state.transformers.notifications
import com.tangem.blockchain.common.transaction.Fee
import com.tangem.common.ui.amountScreen.models.AmountState
import com.tangem.common.ui.notifications.NotificationUM
import com.tangem.common.ui.notifications.NotificationsFactory.addDustWarningNotification
@ -212,7 +213,7 @@ internal class AddStakingNotificationsTransformer(
// blockchain specific
addValidateTransactionNotifications(
dustValue = currencyCheck.dustValue.orZero(),
fee = feeState?.fee,
minAdaValue = (feeState?.fee as? Fee.CardanoToken)?.minAdaValue,
validationError = validatorError,
cryptoCurrency = cryptoCurrency,
onReduceClick = prevState.clickIntents::onAmountReduceToClick,