Skip to content

Commit

Permalink
[MOD/#309] 불필요한 변수 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Dec 20, 2024
1 parent 449ae7b commit 0b4fa70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ fun HomeFilteringBottomSheet(
.padding(horizontal = 24.dp)
)

//todo: 아래는 예시 체크박스로, 추후 수정 부탁합니다!
//todo: 아래는 임시 체크박스로, 추후 수정 부탁합니다!
Checkbox(
checked = isCheckBoxChecked,
onCheckedChange = { isChecked ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0b4fa70

Please sign in to comment.