mirror of
https://github.com/InsanusMokrassar/docs.git
synced 2024-11-22 16:24:00 +00:00
Update getting-started.md
This commit is contained in:
parent
7309fb1d20
commit
6dc843337b
@ -77,7 +77,7 @@ object MainNodeFactory : NavigationNodeFactory<NavigationNodeDefaultConfig> {
|
|||||||
navigationChain: NavigationChain<Base>,
|
navigationChain: NavigationChain<Base>,
|
||||||
config: Base
|
config: Base
|
||||||
): NavigationNode<out Base, Base>? = if (config is MainConfig) {
|
): NavigationNode<out Base, Base>? = if (config is MainConfig) {
|
||||||
MainNode(config, chain) // Or `MainNodeView(config, chain)` for MVVM
|
MainNode(config, navigationChain) // Or `MainNodeView(config, chain)` for MVVM
|
||||||
} else {
|
} else {
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user