Prevent location bottomsheet from being hidden

This commit is contained in:
ganfra
2026-09-07 18:56:25 +02:00
parent f72e1ad2cc
commit 7773ead79b
2 changed files with 2 additions and 0 deletions
@@ -107,6 +107,7 @@ fun ShareLocationView(
val scaffoldState = rememberBottomSheetScaffoldState(
bottomSheetState = rememberBottomSheetState(
initialValue = SheetValue.Expanded,
enabledValues = setOf(SheetValue.PartiallyExpanded, SheetValue.Expanded),
)
)
val cameraState = rememberCameraState(firstPosition = MapDefaults.defaultCameraPosition)
@@ -94,6 +94,7 @@ fun ShowLocationView(
val scaffoldState = rememberBottomSheetScaffoldState(
bottomSheetState = rememberBottomSheetState(
initialValue = SheetValue.Expanded,
enabledValues = setOf(SheetValue.PartiallyExpanded, SheetValue.Expanded),
)
)
LaunchedEffect(state.isSheetDraggable) {