Skip to content

Commit

Permalink
[FEATURE] #141 : 회원가입 이후, 공지사항 화면에서 뒤로가기 키를 누르면 종료되도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Feb 27, 2024
1 parent 2a027bc commit bedfbfd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 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 @@ -77,7 +77,13 @@ fun WappNavHost(
navigateToSignUp = navController::navigateToSignUp,
)
signUpScreen(
navigateToNotice = navController::navigateToNotice,
navigateToNotice = {
navController.navigateToNotice(
navOptions {
popUpTo(navController.graph.startDestinationId) { inclusive = true }
},
)
},
navigateToSignIn = navController::navigateToSignIn,
)
noticeScreen()
Expand Down

0 comments on commit bedfbfd

Please sign in to comment.