Updated on 2026-08-14

This commit is contained in:
Tangem 2023-12-13 13:46:29 +03:00
parent 2df557e6d5
commit a34cb0687c
6 changed files with 31 additions and 1 deletions

View file

@ -63,4 +63,6 @@ sealed class WalletScreenAnalyticsEvent {
object NoticeWalletLocked : MainScreen(event = "Notice - Wallet Locked")
object WalletUnlockTapped : MainScreen(event = "Button - Wallet Unlock Tapped")
}
object SwapPromo : AnalyticsEvent(category = "Swap Promo", event = "Button - Close")
}

View file

@ -779,6 +779,7 @@ internal class WalletViewModel @Inject constructor(
override fun onCloseSwapPromoNotificationClick() {
viewModelScope.launch(dispatchers.main) {
shouldShowSwapPromoWalletUseCase.neverToShow()
analyticsEventsHandler.send(WalletScreenAnalyticsEvent.SwapPromo)
}
}