Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-07 12:39:42 +02:00
parent 177176b3ee
commit e6968d7b35
6 changed files with 17 additions and 11 deletions

View file

@ -76,7 +76,7 @@ internal class DefaultMarketsTokenDetailsComponent(
}
private val portfolioBlockComponent: PortfolioBlockComponent? =
if (designFeatureToggles.isRedesignEnabled) {
if (updatedParams.shouldShowPortfolio && designFeatureToggles.isRedesignEnabled) {
portfolioBlockComponentFactory.create(
context = child("portfolio_block"),
params = PortfolioBlockComponent.Params(token = updatedParams.token),

View file

@ -401,6 +401,7 @@ internal class MarketsTokenDetailsModel @Inject constructor(
AppRoute.CurrencyDetails(
userWalletId = result.wallet.walletId,
currency = result.addedCurrency.currency,
shouldShowMarketBlock = false,
),
)
}