1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-24 09:04:24 +00:00

Remove non-functional consumeWindowInsets modifier

This commit is contained in:
Steffo 2024-01-24 05:08:24 +01:00
parent 7aff684a4c
commit 4f2158848c
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -1,7 +1,6 @@
package eu.steffo.twom.composables.viewroom
import androidx.compose.foundation.layout.ExperimentalLayoutApi
import androidx.compose.foundation.layout.consumeWindowInsets
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Scaffold
@ -45,8 +44,6 @@ fun ViewRoomScaffold(
)
if (inviteDialogExpanded) {
InviteSheet(
// FIXME: Does this work?
modifier = Modifier.consumeWindowInsets(it),
sheetState = inviteDialogState,
onDismissed = { inviteDialogExpanded = false },
onCompleted = { inviteDialogExpanded = false },