Updated on 2026-08-14
This commit is contained in:
parent
27ae1ee2a0
commit
1f3f592cee
8 changed files with 58 additions and 37 deletions
|
|
@ -386,20 +386,21 @@ internal class WalletCurrencyActionsClickIntentsImplementor @Inject constructor(
|
|||
viewModelScope.launch {
|
||||
val rawId = cryptoCurrencyStatus.currency.id.rawCurrencyId ?: return@launch
|
||||
|
||||
val tokenMarketParams = TokenMarketParams(
|
||||
id = rawId,
|
||||
name = cryptoCurrencyStatus.currency.name,
|
||||
symbol = cryptoCurrencyStatus.currency.symbol,
|
||||
tokenQuotes = TokenMarketParams.Quotes(
|
||||
currentPrice = cryptoCurrencyStatus.value.fiatRate ?: BigDecimal.ZERO,
|
||||
h24Percent = cryptoCurrencyStatus.value.priceChange,
|
||||
weekPercent = null,
|
||||
monthPercent = null,
|
||||
),
|
||||
imageUrl = cryptoCurrencyStatus.currency.iconUrl,
|
||||
)
|
||||
appRouter.push(
|
||||
AppRoute.MarketsTokenDetails(
|
||||
TokenMarketParams(
|
||||
id = rawId,
|
||||
name = cryptoCurrencyStatus.currency.name,
|
||||
symbol = cryptoCurrencyStatus.currency.symbol,
|
||||
tokenQuotes = TokenMarketParams.Quotes(
|
||||
currentPrice = cryptoCurrencyStatus.value.fiatRate ?: BigDecimal.ZERO,
|
||||
h24Percent = cryptoCurrencyStatus.value.priceChange,
|
||||
weekPercent = null,
|
||||
monthPercent = null,
|
||||
),
|
||||
imageUrl = cryptoCurrencyStatus.currency.iconUrl,
|
||||
),
|
||||
token = tokenMarketParams,
|
||||
appCurrency = getSelectedAppCurrencyUseCase.unwrap(),
|
||||
showPortfolio = true,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue