Skip to content

Commit

Permalink
[FEATURE] #161 : SignIn -> Notice 네비게이션 시 백스택 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Mar 24, 2024
1 parent 65e71b0 commit 6b8496f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/main/java/com/wap/wapp/navigation/WappNavHost.kt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ fun WappNavHost(
)
signInScreen(
signInUseCase = signInUseCase,
navigateToNotice = navController::navigateToNotice,
navigateToNotice = {
navController.navigateToNotice(
navOptions { popUpTo(signInNavigationRoute) { inclusive = true } },
)
},
navigateToSignUp = navController::navigateToSignUp,
)
signUpScreen(
Expand Down

0 comments on commit 6b8496f

Please sign in to comment.