Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-15 14:51:10 +03:00
parent 1cfaf5a283
commit 23f864b18d
25 changed files with 304 additions and 1 deletions

View file

@ -342,6 +342,8 @@ dependencies {
implementation(projects.features.tokenRecieve.impl)
implementation(projects.features.yieldSupply.api)
implementation(projects.features.yieldSupply.impl)
implementation(projects.features.polymarket.api)
implementation(projects.features.polymarket.impl)
implementation(projects.features.approval.api)
implementation(projects.features.approval.impl)
implementation(projects.features.forYou.api)

View file

@ -46,6 +46,7 @@ import com.tangem.features.tokendetails.TokenDetailsComponent
import com.tangem.features.virtualaccount.onboarding.component.VirtualAccountOnboardingComponent
import com.tangem.features.wallet.WalletEntryComponent
import com.tangem.features.walletconnect.components.WalletConnectEntryComponent
import com.tangem.features.polymarket.api.PolymarketComponent
import com.tangem.features.yield.supply.api.YieldSupplyEntryComponent
import com.tangem.tap.features.details.ui.appcurrency.api.AppCurrencySelectorComponent
import com.tangem.tap.features.details.ui.appsettings.api.AppSettingsComponent
@ -118,6 +119,7 @@ internal class ChildFactory @Inject constructor(
private val kycComponentFactory: KycComponent.Factory,
private val surveyComponentFactory: SurveyComponent.Factory,
private val yieldSupplyEntryComponentFactory: YieldSupplyEntryComponent.Factory,
private val polymarketComponentFactory: PolymarketComponent.Factory,
private val feedEntryComponentFactory: FeedEntryComponent.Factory,
private val addressBookComponentFactory: AddressBookComponent.Factory,
) {
@ -745,6 +747,13 @@ internal class ChildFactory @Inject constructor(
componentFactory = yieldSupplyEntryComponentFactory,
)
}
is AppRoute.Polymarket -> {
createComponentChild(
context = context,
params = PolymarketComponent.Params(userWalletId = route.userWalletId),
componentFactory = polymarketComponentFactory,
)
}
is AppRoute.NewsDetails -> {
createComponentChild(
context = context,