From bee36bea7c6bfdef783ac0c0ebf1005e068effdc Mon Sep 17 00:00:00 2001 From: Edric Date: Sun, 29 Sep 2024 04:09:24 +0800 Subject: [PATCH] ModalBottomSheetViewHolder: Remove `group` reference Whoops --- .../widgets/modalbottomsheet/views/ModalBottomSheetViewHolder.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/widgets/modal-bottom-sheet/src/main/kotlin/com/edricchan/studybuddy/ui/widgets/modalbottomsheet/views/ModalBottomSheetViewHolder.kt b/ui/widgets/modal-bottom-sheet/src/main/kotlin/com/edricchan/studybuddy/ui/widgets/modalbottomsheet/views/ModalBottomSheetViewHolder.kt index a34a32d6..8e77a131 100644 --- a/ui/widgets/modal-bottom-sheet/src/main/kotlin/com/edricchan/studybuddy/ui/widgets/modalbottomsheet/views/ModalBottomSheetViewHolder.kt +++ b/ui/widgets/modal-bottom-sheet/src/main/kotlin/com/edricchan/studybuddy/ui/widgets/modalbottomsheet/views/ModalBottomSheetViewHolder.kt @@ -20,7 +20,6 @@ sealed class ModalBottomSheetViewHolder( layoutParams = RecyclerView.LayoutParams(0, 0) } setOnClickListener { - item.group?.onItemCheckedChangeListener?.onItemCheckedChange(item) item.onItemClickListener?.onItemClick(item) if (item.requestDismissOnClick) requestDismiss() }