Skip to content

Commit

Permalink
Revert "Rename SignedInNavHostDefaults -> RootNavHostDefaults"
Browse files Browse the repository at this point in the history
This reverts commit 335de5d.
  • Loading branch information
matejsemancik committed Dec 5, 2024
1 parent 335de5d commit b145ebe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package app.futured.kmptemplate.feature.navigation.signedIn

actual object RootNavHostDefaults {
actual object SignedInNavHostDefaults {
/**
* Returns initial stack for bottom navigation.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ internal class SignedInNavHostComponent(
override val stack: StateFlow<ChildStack<SignedInConfig, SignedInChild>> = childStack(
source = stackNavigator,
serializer = SignedInConfig.serializer(),
initialStack = { RootNavHostDefaults.getInitialStack(initialConfig) },
initialStack = { SignedInNavHostDefaults.getInitialStack(initialConfig) },
handleBackButton = true,
childFactory = { config, childCtx ->
when (config) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package app.futured.kmptemplate.feature.navigation.signedIn

expect object RootNavHostDefaults {
expect object SignedInNavHostDefaults {

/**
* Returns initial stack for bottom navigation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package app.futured.kmptemplate.feature.navigation.signedIn

actual object RootNavHostDefaults {
actual object SignedInNavHostDefaults {
/**
* Returns initial stack for bottom navigation.
*
Expand Down

0 comments on commit b145ebe

Please sign in to comment.