Skip to content

Commit

Permalink
fix: 네이게이터 문제로 인한 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ghddbwns9808 committed May 19, 2024
1 parent 74c5f0f commit 7023cc5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,18 @@ class MainNavigator(
fun navigate(tab: MainNavigationTab) {
val teacherNavOptions = navOptions {
popUpTo(HomeRoute.defaultRoute) {
saveState = true
// saveState = true
}
launchSingleTop = true
restoreState = true
// restoreState = true
}

val studentNavOptions = navOptions {
popUpTo(StudentHomeRoute.defaultRoute) {
saveState = true
// saveState = true
}
launchSingleTop = true
restoreState = true
// restoreState = true
}

when (tab) {
Expand Down Expand Up @@ -308,7 +308,7 @@ class MainNavigator(
*/
fun navigateStudentRelayHistory() {
navController.navigate(RelayRoute.defaultRoute) {
popUpTo(navController.graph.id) {
popUpTo(RelayRoute.defaultRoute) {
inclusive = true
}
}
Expand Down

0 comments on commit 7023cc5

Please sign in to comment.