Skip to content

Commit

Permalink
#310 [chore] ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
murjune committed Sep 3, 2023
1 parent 9b82d8e commit 59d3f70
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private fun NavGraphBuilder.mainRuleScreen(
onNavigateToRepresentRule = navController::navigateToRepresentRule,
onFinish = activity::finish,
refresh = viewModel::fetchMainRules,
deleteRule = viewModel::deleteRule,
deleteRule = viewModel::deleteRule
)
}
}
Expand Down Expand Up @@ -309,6 +309,7 @@ private fun NavGraphBuilder.representativeRuleScreen(onBack: () -> Unit) {
composable(RulesScreens.Represent.route) {
}
}

// Navigation
fun NavController.navigateToAddRule() {
navigate(RulesScreens.Add.route)
Expand All @@ -324,4 +325,4 @@ fun NavController.navigateUpdateRule(detailRuleUiModel: DetailRuleUiModel) {

fun NavController.navigateToRepresentRule() {
navigate(RulesScreens.Represent.route)
}
}

0 comments on commit 59d3f70

Please sign in to comment.