mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Prevent location bottomsheet from being hidden
This commit is contained in:
+1
@@ -107,6 +107,7 @@ fun ShareLocationView(
|
|||||||
val scaffoldState = rememberBottomSheetScaffoldState(
|
val scaffoldState = rememberBottomSheetScaffoldState(
|
||||||
bottomSheetState = rememberBottomSheetState(
|
bottomSheetState = rememberBottomSheetState(
|
||||||
initialValue = SheetValue.Expanded,
|
initialValue = SheetValue.Expanded,
|
||||||
|
enabledValues = setOf(SheetValue.PartiallyExpanded, SheetValue.Expanded),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
val cameraState = rememberCameraState(firstPosition = MapDefaults.defaultCameraPosition)
|
val cameraState = rememberCameraState(firstPosition = MapDefaults.defaultCameraPosition)
|
||||||
|
|||||||
+1
@@ -94,6 +94,7 @@ fun ShowLocationView(
|
|||||||
val scaffoldState = rememberBottomSheetScaffoldState(
|
val scaffoldState = rememberBottomSheetScaffoldState(
|
||||||
bottomSheetState = rememberBottomSheetState(
|
bottomSheetState = rememberBottomSheetState(
|
||||||
initialValue = SheetValue.Expanded,
|
initialValue = SheetValue.Expanded,
|
||||||
|
enabledValues = setOf(SheetValue.PartiallyExpanded, SheetValue.Expanded),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
LaunchedEffect(state.isSheetDraggable) {
|
LaunchedEffect(state.isSheetDraggable) {
|
||||||
|
|||||||
Reference in New Issue
Block a user