Skip to content

Commit

Permalink
[FEAT/#218] 코드 리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Sep 7, 2024
1 parent 278d274 commit fc8c1f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ fun NavGraphBuilder.filteringOneNavGraph(
FilteringOneRoute(
paddingValues = paddingValues,
name = args.name,
onNextClick = { grade -> navHostController.navigateFilteringTwo(grade) },
navigateUp = { navHostController.navigateUp() }
onNextClick = navHostController::navigateFilteringTwo,
navigateUp = navHostController::navigateUp
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ fun FilteringThreeRoute(
chosenYear = Calendar.getInstance().currentYear,
chosenMonth = Calendar.getInstance().currentMonth,
onNextClick = viewModel::postFilteringWithServer,
onYearChosen = { viewModel.updateStartYear(it) },
onMonthChosen = { viewModel.updateStartMonth(it) }
onYearChosen = viewModel::updateStartYear,
onMonthChosen = viewModel::updateStartMonth
)
}

Expand Down

0 comments on commit fc8c1f3

Please sign in to comment.