Skip to content

Commit e928a36

Browse files
committed
Refactor: 약관동의 화면 스택 정리 로직 추가
1 parent d9c0f71 commit e928a36

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/src/main/java/com/threegap/bitnagil/MainNavHost.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ fun MainNavHost(
8080
)
8181
},
8282
navigateToOnBoarding = {
83-
navigator.navController.navigate(Route.OnBoarding())
83+
navigator.navController.navigate(Route.OnBoarding()) {
84+
popUpTo(0) { inclusive = true }
85+
}
8486
},
8587
navigateToBack = {
8688
if (navigator.navController.previousBackStackEntry != null) {

0 commit comments

Comments
 (0)