Updated on 2026-08-14
This commit is contained in:
commit
246ab4b47e
25 changed files with 362 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
) {
|
||||
|
|
@ -748,6 +750,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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue