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) {