Updated on 2026-08-14
This commit is contained in:
parent
dfaf4e4e77
commit
ce4df5bee6
18 changed files with 417 additions and 8 deletions
|
|
@ -15,6 +15,7 @@ import com.tangem.features.markets.details.MarketsTokenDetailsComponent
|
|||
import com.tangem.features.nft.component.NFTCollectionsComponent
|
||||
import com.tangem.features.nft.component.NFTDetailsComponent
|
||||
import com.tangem.features.nft.component.NFTReceiveComponent
|
||||
import com.tangem.features.nft.component.NFTAssetTraitsComponent
|
||||
import com.tangem.features.onboarding.v2.entry.OnboardingEntryComponent
|
||||
import com.tangem.features.onramp.component.*
|
||||
import com.tangem.features.pushnotifications.api.PushNotificationsComponent
|
||||
|
|
@ -87,6 +88,7 @@ internal class ChildFactory @Inject constructor(
|
|||
private val nftCollectionsComponentFactory: NFTCollectionsComponent.Factory,
|
||||
private val nftReceiveComponentFactory: NFTReceiveComponent.Factory,
|
||||
private val nftDetailsComponentFactory: NFTDetailsComponent.Factory,
|
||||
private val nftAssetTraitsComponentFactory: NFTAssetTraitsComponent.Factory,
|
||||
private val nftSendComponentFactory: NFTSendComponent.Factory,
|
||||
private val testerRouter: TesterRouter,
|
||||
private val routingFeatureToggles: RoutingFeatureToggles,
|
||||
|
|
@ -429,6 +431,12 @@ internal class ChildFactory @Inject constructor(
|
|||
),
|
||||
componentFactory = nftDetailsComponentFactory,
|
||||
)
|
||||
is AppRoute.NFTAssetTraits ->
|
||||
createComponentChild(
|
||||
context = context,
|
||||
params = NFTAssetTraitsComponent.Params(nftAsset = route.nftAsset),
|
||||
componentFactory = nftAssetTraitsComponentFactory,
|
||||
)
|
||||
is AppRoute.NFTSend -> {
|
||||
createComponentChild(
|
||||
context = context,
|
||||
|
|
@ -796,6 +804,12 @@ internal class ChildFactory @Inject constructor(
|
|||
),
|
||||
componentFactory = nftDetailsComponentFactory,
|
||||
)
|
||||
is AppRoute.NFTAssetTraits ->
|
||||
route.asComponentChild(
|
||||
contextProvider = contextProvider(route, contextFactory),
|
||||
params = NFTAssetTraitsComponent.Params(nftAsset = route.nftAsset),
|
||||
componentFactory = nftAssetTraitsComponentFactory,
|
||||
)
|
||||
is AppRoute.NFTSend -> {
|
||||
route.asComponentChild(
|
||||
contextProvider = contextProvider(route, contextFactory),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue