From e98cbdfce1376fa071ac28488704985a975b335a Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 19 Jun 2026 11:26:20 +0200 Subject: [PATCH] BottomSheet for maps must be Expanded --- .../android/features/location/impl/share/ShareLocationView.kt | 2 +- .../android/features/location/impl/show/ShowLocationView.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/location/impl/src/main/kotlin/io/element/android/features/location/impl/share/ShareLocationView.kt b/features/location/impl/src/main/kotlin/io/element/android/features/location/impl/share/ShareLocationView.kt index b41581fcf6..dc857b37a6 100644 --- a/features/location/impl/src/main/kotlin/io/element/android/features/location/impl/share/ShareLocationView.kt +++ b/features/location/impl/src/main/kotlin/io/element/android/features/location/impl/share/ShareLocationView.kt @@ -106,7 +106,7 @@ fun ShareLocationView( val scaffoldState = rememberBottomSheetScaffoldState( bottomSheetState = rememberBottomSheetState( - initialValue = SheetValue.Hidden, + initialValue = SheetValue.Expanded, ) ) val cameraState = rememberCameraState(firstPosition = MapDefaults.defaultCameraPosition) diff --git a/features/location/impl/src/main/kotlin/io/element/android/features/location/impl/show/ShowLocationView.kt b/features/location/impl/src/main/kotlin/io/element/android/features/location/impl/show/ShowLocationView.kt index 22a118b01b..9fdbe3aac8 100644 --- a/features/location/impl/src/main/kotlin/io/element/android/features/location/impl/show/ShowLocationView.kt +++ b/features/location/impl/src/main/kotlin/io/element/android/features/location/impl/show/ShowLocationView.kt @@ -93,7 +93,7 @@ fun ShowLocationView( val scaffoldState = rememberBottomSheetScaffoldState( bottomSheetState = rememberBottomSheetState( - initialValue = SheetValue.Hidden, + initialValue = SheetValue.Expanded, ) ) LaunchedEffect(state.isSheetDraggable) {