Updated on 2026-08-14

This commit is contained in:
Tangem 2023-09-27 11:16:22 +03:00
parent e76414cc06
commit f3f29813e0
10 changed files with 132 additions and 4 deletions

View file

@ -43,6 +43,7 @@ import com.tangem.domain.tokens.model.CryptoCurrency
import com.tangem.domain.tokens.model.CryptoCurrencyStatus
import com.tangem.domain.tokens.model.NetworkGroup
import com.tangem.domain.tokens.model.TokenList
import com.tangem.domain.tokens.models.analytics.TokenReceiveAnalyticsEvent
import com.tangem.domain.txhistory.usecase.GetTxHistoryItemsCountUseCase
import com.tangem.domain.txhistory.usecase.GetTxHistoryItemsUseCase
import com.tangem.domain.userwallets.UserWalletBuilder
@ -639,6 +640,12 @@ internal class WalletViewModel @Inject constructor(
type = AddressModel.Type.valueOf(it.type.name),
)
},
onCopyClick = {
analyticsEventsHandler.send(TokenReceiveAnalyticsEvent.ButtonCopyAddress(currency.symbol))
},
onShareClick = {
analyticsEventsHandler.send(TokenReceiveAnalyticsEvent.ButtonShareAddress(currency.symbol))
},
),
)
}