From d47d73ffe271f69c518aa3807acbcb282f59b5e6 Mon Sep 17 00:00:00 2001 From: LEE YOU BIN Date: Sat, 21 Dec 2024 04:09:51 +0900 Subject: [PATCH] =?UTF-8?q?[MOD/#309]=20=EB=A1=9C=EC=A7=81=20=EC=95=8C?= =?UTF-8?q?=EB=A7=9E=EA=B2=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../feature/home/component/HomeFilteringBottomSheet.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 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 df8ded53..3dab80b1 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 @@ -61,9 +61,8 @@ fun HomeFilteringBottomSheet( ) } - // todo: 아래 변수의 mutableStateOf 값을 각각 "defaultStartYear != null"로 넣어주세요. - var isYearNull by remember { mutableStateOf(false) } - var isMonthNull by remember { mutableStateOf(false) } + var isYearNull by remember { mutableStateOf(defaultStartYear != null) } + var isMonthNull by remember { mutableStateOf(defaultStartMonth != null) } var isCheckBoxChecked by remember { mutableStateOf(false) } @@ -154,7 +153,7 @@ fun HomeFilteringBottomSheet( .padding(horizontal = 24.dp) ) - //todo: 아래는 임시 체크박스로, 추후 수정 부탁합니다! + //TODO: 아래는 임시 체크박스로, 추후 수정 부탁합니다! Checkbox( checked = isCheckBoxChecked, onCheckedChange = { isChecked ->