mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +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
@@ -143,7 +143,7 @@ private fun ChangeOwnRoleBottomSheet(
|
||||
) {
|
||||
val coroutineScope = rememberCoroutineScope()
|
||||
val sheetState = rememberBottomSheetState(
|
||||
initialValue = SheetValue.Expanded,
|
||||
initialValue = SheetValue.Hidden,
|
||||
enabledValues = setOf(SheetValue.Hidden, SheetValue.Expanded),
|
||||
)
|
||||
fun dismiss() {
|
||||
|
||||
Reference in New Issue
Block a user