From 0b4fa70132f95fd2e10424a08378da5f5331ffd9 Mon Sep 17 00:00:00 2001 From: LEE YOU BIN Date: Sat, 21 Dec 2024 04:02:19 +0900 Subject: [PATCH] =?UTF-8?q?[MOD/#309]=20=EB=B6=88=ED=95=84=EC=9A=94?= =?UTF-8?q?=ED=95=9C=20=EB=B3=80=EC=88=98=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../terning/feature/home/component/HomeFilteringBottomSheet.kt | 2 +- .../com/terning/feature/home/component/HomeYearMonthPicker.kt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/feature/home/src/main/java/com/terning/feature/home/component/HomeFilteringBottomSheet.kt b/feature/home/src/main/java/com/terning/feature/home/component/HomeFilteringBottomSheet.kt index f7fb5456..df8ded53 100644 --- a/feature/home/src/main/java/com/terning/feature/home/component/HomeFilteringBottomSheet.kt +++ b/feature/home/src/main/java/com/terning/feature/home/component/HomeFilteringBottomSheet.kt @@ -154,7 +154,7 @@ fun HomeFilteringBottomSheet( .padding(horizontal = 24.dp) ) - //todo: 아래는 예시 체크박스로, 추후 수정 부탁합니다! + //todo: 아래는 임시 체크박스로, 추후 수정 부탁합니다! Checkbox( checked = isCheckBoxChecked, onCheckedChange = { isChecked -> diff --git a/feature/home/src/main/java/com/terning/feature/home/component/HomeYearMonthPicker.kt b/feature/home/src/main/java/com/terning/feature/home/component/HomeYearMonthPicker.kt index 0a332753..21544f77 100644 --- a/feature/home/src/main/java/com/terning/feature/home/component/HomeYearMonthPicker.kt +++ b/feature/home/src/main/java/com/terning/feature/home/component/HomeYearMonthPicker.kt @@ -171,12 +171,11 @@ fun DatePicker( Spacer(modifier = Modifier.height(itemHeightDp)) } items(items.size) { index -> - val isSelected = pickerState.selectedItem == items[index] DatePickerContent( modifier = Modifier .onSizeChanged { intSize: IntSize -> itemHeightPixel = intSize.height }, text = items[index], - color = if (isSelected) Grey500 else Grey300 + color = if (pickerState.selectedItem == items[index]) Grey500 else Grey300 ) } items(visibleItemsMiddle) {