Updated on 2026-08-14
This commit is contained in:
parent
d8c5f217bb
commit
0225de915a
5 changed files with 12 additions and 8 deletions
|
|
@ -127,7 +127,9 @@ internal class DetailsViewModel(
|
|||
}
|
||||
|
||||
private fun navigateToTesterMenu() {
|
||||
store.state.daggerGraphState.testerRouter?.startTesterScreen()
|
||||
store.dispatchNavigationAction {
|
||||
push(AppRoute.TesterMenu)
|
||||
}
|
||||
}
|
||||
|
||||
private fun navigateToToS() {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ import com.tangem.feature.swap.presentation.SwapFragment
|
|||
import com.tangem.features.details.component.DetailsComponent
|
||||
import com.tangem.features.send.api.navigation.SendRouter
|
||||
import com.tangem.features.staking.api.navigation.StakingRouter
|
||||
import com.tangem.features.tester.api.TesterRouter
|
||||
import com.tangem.features.tokendetails.navigation.TokenDetailsRouter
|
||||
import com.tangem.features.wallet.navigation.WalletRouter
|
||||
import com.tangem.tap.features.customtoken.impl.presentation.AddCustomTokenFragment
|
||||
|
|
@ -43,6 +44,7 @@ internal class ChildFactory @Inject constructor(
|
|||
private val walletRouter: WalletRouter,
|
||||
private val qrScanningRouter: QrScanningRouter,
|
||||
private val stakingRouter: StakingRouter,
|
||||
private val testerRouter: TesterRouter,
|
||||
) {
|
||||
|
||||
@Suppress("LongMethod", "CyclomaticComplexMethod")
|
||||
|
|
@ -133,7 +135,7 @@ internal class ChildFactory @Inject constructor(
|
|||
route.asFragmentChild(Provider { WelcomeFragment() })
|
||||
}
|
||||
is AppRoute.TesterMenu -> {
|
||||
TODO("Will be implemented later")
|
||||
Child.LegacyIntent(testerRouter.getEntryIntent())
|
||||
}
|
||||
is AppRoute.Staking -> {
|
||||
route.asFragmentChild(Provider { stakingRouter.getEntryFragment() })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue