Updated on 2026-08-14
This commit is contained in:
parent
4a59f88990
commit
a22f5b7ef8
10 changed files with 37 additions and 12 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package com.tangem.tap.common.analytics.events
|
||||
|
||||
import com.tangem.core.analytics.models.AnalyticsEvent
|
||||
import com.tangem.core.analytics.models.AnalyticsParam.Key.TOKEN_PARAM
|
||||
|
||||
/**
|
||||
[REDACTED_AUTHOR]
|
||||
|
|
@ -17,7 +18,12 @@ sealed class Token(
|
|||
params: Map<String, String> = mapOf(),
|
||||
) : Token("Token / Receive", event, params) {
|
||||
|
||||
class ScreenOpened : Receive("Receive Screen Opened")
|
||||
class ScreenOpened(
|
||||
val token: String,
|
||||
) : Receive(
|
||||
event = "Receive Screen Opened",
|
||||
params = mapOf(TOKEN_PARAM to token),
|
||||
)
|
||||
class ButtonCopyAddress : Receive("Button - Copy Address")
|
||||
class ButtonShareAddress : Receive("Button - Share Address")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ internal class AddressInfoBottomSheetDialog(
|
|||
|
||||
override fun show() {
|
||||
super.show()
|
||||
Analytics.send(Token.Receive.ScreenOpened())
|
||||
Analytics.send(Token.Receive.ScreenOpened(stateDialog.currency.currencySymbol))
|
||||
showData(data = stateDialog.addressData)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue