mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Bottom sheet: initial state must be Hidden else there is no animation when opening the bottom sheet.
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ fun MediaDeleteConfirmationBottomSheet(
|
||||
modifier = modifier,
|
||||
onDismissRequest = onDismiss,
|
||||
sheetState = rememberBottomSheetState(
|
||||
initialValue = SheetValue.Expanded,
|
||||
initialValue = SheetValue.Hidden,
|
||||
enabledValues = setOf(SheetValue.Hidden, SheetValue.Expanded),
|
||||
),
|
||||
scrollable = false,
|
||||
|
||||
Reference in New Issue
Block a user