Update getting-started.md

This commit is contained in:
InsanusMokrassar 2024-01-11 17:58:58 +06:00 committed by GitHub
parent 7309fb1d20
commit 6dc843337b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
} }