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:
parent
7aff684a4c
commit
4f2158848c
1 changed files with 0 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
package eu.steffo.twom.composables.viewroom
|
package eu.steffo.twom.composables.viewroom
|
||||||
|
|
||||||
import androidx.compose.foundation.layout.ExperimentalLayoutApi
|
import androidx.compose.foundation.layout.ExperimentalLayoutApi
|
||||||
import androidx.compose.foundation.layout.consumeWindowInsets
|
|
||||||
import androidx.compose.foundation.layout.padding
|
import androidx.compose.foundation.layout.padding
|
||||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||||
import androidx.compose.material3.Scaffold
|
import androidx.compose.material3.Scaffold
|
||||||
|
@ -45,8 +44,6 @@ fun ViewRoomScaffold(
|
||||||
)
|
)
|
||||||
if (inviteDialogExpanded) {
|
if (inviteDialogExpanded) {
|
||||||
InviteSheet(
|
InviteSheet(
|
||||||
// FIXME: Does this work?
|
|
||||||
modifier = Modifier.consumeWindowInsets(it),
|
|
||||||
sheetState = inviteDialogState,
|
sheetState = inviteDialogState,
|
||||||
onDismissed = { inviteDialogExpanded = false },
|
onDismissed = { inviteDialogExpanded = false },
|
||||||
onCompleted = { inviteDialogExpanded = false },
|
onCompleted = { inviteDialogExpanded = false },
|
||||||
|
|
Loading…
Reference in a new issue