Skip to content

Commit 4174b18

Browse files
committed
#29 [REFACTOR] 백스택 정리
1 parent e7b5497 commit 4174b18

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

presentation/src/main/java/com/sopt/presentation/mypage/navigation/MyPageNavigation.kt

+4-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ fun NavGraphBuilder.myPageNavGraph(
5353
nickname = args.nickname,
5454
profileImage = args.profileImage,
5555
navigateUp = navHostController::navigateUp,
56-
navigateToMyPage = { navHostController.navigate(MyPage) }
56+
navigateToMyPage = {
57+
navHostController.popBackStack()
58+
navHostController.navigateMyPage()
59+
}
5760
)
5861
}
5962
}

0 commit comments

Comments
 (0)