Skip to content

Commit

Permalink
[FIX/#59] MainNavigator 2차 재설정
Browse files Browse the repository at this point in the history
  • Loading branch information
boiledEgg-s committed Jul 16, 2024
1 parent 01028e3 commit 9c9a462
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class MainNavigator(
@Composable get() = navController
.currentBackStackEntryAsState().value?.destination

val startDestination = Search
val startDestination = SignIn

val currentTab: MainTab?
@Composable get() = MainTab.find { tab ->
Expand Down
3 changes: 1 addition & 2 deletions feature/src/main/java/com/terning/feature/main/MainScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import com.terning.core.designsystem.theme.TerningMain
import com.terning.core.designsystem.theme.White
import com.terning.core.util.NoRippleInteractionSource
import com.terning.feature.calendar.calendar.navigation.calendarNavGraph
import com.terning.feature.calendar.navigation.calendarNavGraph
import com.terning.feature.home.changefilter.navigation.changeFilterNavGraph
import com.terning.feature.home.home.navigation.homeNavGraph
import com.terning.feature.intern.navigation.internNavGraph
Expand Down Expand Up @@ -59,7 +58,7 @@ fun MainScreen(
navController = navigator.navController,
startDestination = navigator.startDestination
) {
homeNavGraph()
homeNavGraph(navHostController = navigator.navController)
calendarNavGraph(navHostController = navigator.navController)
searchNavGraph(navHostController = navigator.navController)
myPageNavGraph()
Expand Down

0 comments on commit 9c9a462

Please sign in to comment.