Dont allow dismissing the bottom sheet without save/cancel

This commit is contained in:
Jackson Harper
2023-04-27 18:20:50 +08:00
parent 4e87d55b27
commit db76f83646

View File

@ -42,7 +42,7 @@ fun WebReaderLabelsSelectionSheet(viewModel: WebReaderViewModel) {
val modalBottomSheetState = rememberModalBottomSheetState(
ModalBottomSheetValue.HalfExpanded,
confirmStateChange = { false }
confirmStateChange = { it != ModalBottomSheetValue.Hidden }
)
if (isActive) {