Skip to content

Commit

Permalink
Merge pull request #98 from PawWithU/feature/inter_setting
Browse files Browse the repository at this point in the history
feature/inter setting: ์ค‘๊ฐœ์ž ํ™ˆ์—์„œ ์„ค์ • ํ™”๋ฉด์œผ๋กœ ์ด๋™ํ•˜๋Š” ๋กœ์ง ์ถ”๊ฐ€
  • Loading branch information
kang9366 authored Mar 24, 2024
2 parents d310726 + c6fe6a5 commit fb36ef4
Show file tree
Hide file tree
Showing 33 changed files with 5 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ fun NavController.navigateInterManagement(tabIndex: Int) {
}

fun NavGraphBuilder.intermediatorNavGraph(
onBackClick: () -> Unit
onBackClick: () -> Unit,
onSettingClick: () -> Unit
) {
composable(route = IntermediatorRoute.route) {
IntermediatorHomeScreen(
onNotificationClick = { },
onSettingClick = { },
onSettingClick = onSettingClick,
onDataClick = { }
// index -> navigator.navigateInterManagement(index)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ internal fun MainScreen(
onShowErrorSnackbar = {}
)
intermediatorNavGraph(
onBackClick = navigator::popBackStackIfNotHome
onBackClick = navigator::popBackStackIfNotHome,
onSettingClick = { navigator.navigateSetting() }
)
}
}
Expand Down

0 comments on commit fb36ef4

Please sign in to comment.