From 963382cf3c406bb3e8f4b7a43915dc8df361b47d Mon Sep 17 00:00:00 2001 From: LEE YOU BIN Date: Mon, 19 Aug 2024 23:02:58 +0900 Subject: [PATCH] =?UTF-8?q?[CHORE/#180]=20onNextClick()=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../filtering/startfiltering/StartFilteringScreen.kt | 6 +++--- .../startfiltering/navigation/StartFilteringNavigation.kt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/feature/src/main/java/com/terning/feature/filtering/startfiltering/StartFilteringScreen.kt b/feature/src/main/java/com/terning/feature/filtering/startfiltering/StartFilteringScreen.kt index ed323d030..588c639ae 100644 --- a/feature/src/main/java/com/terning/feature/filtering/startfiltering/StartFilteringScreen.kt +++ b/feature/src/main/java/com/terning/feature/filtering/startfiltering/StartFilteringScreen.kt @@ -34,7 +34,7 @@ import kotlinx.coroutines.delay @Composable fun StartFilteringScreen( modifier: Modifier = Modifier, - onNextButtonClick: () -> Unit + onNextClick: () -> Unit ) { var isVisible by remember { mutableStateOf(false) } @@ -82,7 +82,7 @@ fun StartFilteringScreen( style = TerningTheme.typography.button0, paddingVertical = 20.dp, text = R.string.start_filtering_button, - onButtonClick = { onNextButtonClick() }, + onButtonClick = { onNextClick() }, ) } } @@ -96,7 +96,7 @@ private const val DELAY: Long = 1000 fun StartFilteringScreenPreview() { TerningPointTheme { StartFilteringScreen( - onNextButtonClick = {} + onNextClick = {} ) } } diff --git a/feature/src/main/java/com/terning/feature/filtering/startfiltering/navigation/StartFilteringNavigation.kt b/feature/src/main/java/com/terning/feature/filtering/startfiltering/navigation/StartFilteringNavigation.kt index 127e51bb6..e70d98afa 100644 --- a/feature/src/main/java/com/terning/feature/filtering/startfiltering/navigation/StartFilteringNavigation.kt +++ b/feature/src/main/java/com/terning/feature/filtering/startfiltering/navigation/StartFilteringNavigation.kt @@ -27,7 +27,7 @@ fun NavGraphBuilder.startFilteringNavGraph( composable { val args = it.toRoute() StartFilteringScreen( - onNextButtonClick = { + onNextClick = { navHostController.navigateFilteringOne(args.name) } )