Skip to content

Commit

Permalink
feat: 찜한 목록 화면 하단바 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
rhkrwngud445 committed Aug 11, 2024
1 parent 83a00d2 commit f189f5d
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions app/src/main/java/com/withpeace/withpeace/navigation/NavHost.kt
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,7 @@ fun WithpeaceNavHost(
SnackbarType.Navigator(
actionName = "목록 보러가기",
action = {
navController.navigatePolicyBookmarks( navOptions = navOptions {
popUpTo(HOME_ROUTE) {
saveState = true
}
launchSingleTop = true
restoreState = true
})
navController.navigatePolicyBookmarks()
},
),
),
Expand Down Expand Up @@ -285,20 +279,19 @@ fun WithpeaceNavHost(

},
)
policyBookmarksNavGraph(
onShowSnackBar = { onShowSnackBar(SnackbarState(it)) },
onClickBackButton = {
navController.popBackStack()
},
onPolicyClick = {
navController.navigateToPolicyDetail(policyId = it)
},
onDisablePolicyClick = {
navController.navigateDisabledPolicy(policyId = it)
},
)

}
policyBookmarksNavGraph(
onShowSnackBar = { onShowSnackBar(SnackbarState(it)) },
onClickBackButton = {
navController.popBackStack()
},
onPolicyClick = {
navController.navigateToPolicyDetail(policyId = it)
},
onDisablePolicyClick = {
navController.navigateDisabledPolicy(policyId = it)
},
)
postDetailGraph(
onShowSnackBar = { onShowSnackBar(SnackbarState(it)) },
onClickBackButton = navController::popBackStack,
Expand Down

0 comments on commit f189f5d

Please sign in to comment.