Dont allow dismissing the bottom sheet without save/cancel
This commit is contained in:
@ -42,7 +42,7 @@ fun WebReaderLabelsSelectionSheet(viewModel: WebReaderViewModel) {
|
||||
|
||||
val modalBottomSheetState = rememberModalBottomSheetState(
|
||||
ModalBottomSheetValue.HalfExpanded,
|
||||
confirmStateChange = { false }
|
||||
confirmStateChange = { it != ModalBottomSheetValue.Hidden }
|
||||
)
|
||||
|
||||
if (isActive) {
|
||||
|
||||
Reference in New Issue
Block a user