How to disable Half Expanded state in ModalBottomSheet

PHOTO EMBED

Mon Dec 13 2021 08:42:45 GMT+0000 (Coordinated Universal Time)

Saved by @GoodRequest. #kotlin

val sheetState = rememberModalBottomSheetState(
    initialValue = ModalBottomSheetValue.Hidden,
    confirmStateChange = { it != ModalBottomSheetValue.HalfExpanded }
)
content_copyCOPY