Updated on 2026-08-14

This commit is contained in:
Tangem 2026-05-19 20:42:17 +05:00
parent babb461145
commit 92802e6968
9 changed files with 62 additions and 19 deletions

View file

@ -1,5 +1,7 @@
package com.tangem.feature.wallet.child.wallet.model.intents
import com.tangem.core.analytics.api.AnalyticsEventHandler
import com.tangem.core.analytics.models.event.MainScreenAnalyticsEvent
import com.tangem.core.decompose.di.ModelScoped
import com.tangem.core.ui.DesignFeatureToggles
import com.tangem.domain.exchange.RampStateManager
@ -45,6 +47,7 @@ internal class WalletClickIntents @Inject constructor(
private val tangemPayIntents: TangemPayClickIntentsImplementor,
private val yieldSupplyApyUpdateUseCase: YieldSupplyApyUpdateUseCase,
private val designFeatureToggles: DesignFeatureToggles,
private val analyticsEventHandler: AnalyticsEventHandler,
) : BaseWalletClickIntents(),
WalletCardClickIntents by walletCardClickIntentsImplementor,
WalletWarningsClickIntents by warningsClickIntentsImplementer,
@ -116,6 +119,7 @@ internal class WalletClickIntents @Inject constructor(
}
fun onAddFundsClick(userWalletId: UserWalletId) {
analyticsEventHandler.send(MainScreenAnalyticsEvent.ButtonAddFunds())
router.openAddFunds(userWalletId)
}