Updated on 2026-08-14
This commit is contained in:
parent
93bab15d0c
commit
e1c58bed0e
15 changed files with 467 additions and 32 deletions
|
|
@ -108,6 +108,10 @@ internal class DefaultTokenDetailsComponent @AssistedInject constructor(
|
|||
userWalletId = params.userWalletId,
|
||||
currency = params.currency,
|
||||
onDismiss = model.txDetailsNavigation::dismiss,
|
||||
onOpenTokenDetails = { currency ->
|
||||
model.txDetailsNavigation.dismiss()
|
||||
model.openTokenDetails(currency)
|
||||
},
|
||||
),
|
||||
)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -663,6 +663,11 @@ internal class TokenDetailsModel @Inject constructor(
|
|||
router.openTokenDetails(userWalletId = userWalletId, currency = cryptoCurrency)
|
||||
}
|
||||
|
||||
/** Opens the given currency's Token Details on top of this screen (e.g. the refunded token from the tx details sheet). */
|
||||
fun openTokenDetails(currency: CryptoCurrency) {
|
||||
router.openTokenDetails(userWalletId = userWalletId, currency = currency)
|
||||
}
|
||||
|
||||
override fun onStakeBannerClick() {
|
||||
analyticsEventsHandler.send(TokenScreenAnalyticsEvent.StakingClicked(cryptoCurrency.symbol))
|
||||
openStaking()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue