From 4f2158848c5a8f39f1d3c0e61237f15610e16213 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 24 Jan 2024 05:08:24 +0100 Subject: [PATCH] Remove non-functional `consumeWindowInsets` modifier --- .../eu/steffo/twom/composables/viewroom/ViewRoomScaffold.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/eu/steffo/twom/composables/viewroom/ViewRoomScaffold.kt b/app/src/main/java/eu/steffo/twom/composables/viewroom/ViewRoomScaffold.kt index 6fab9cb..b5da082 100644 --- a/app/src/main/java/eu/steffo/twom/composables/viewroom/ViewRoomScaffold.kt +++ b/app/src/main/java/eu/steffo/twom/composables/viewroom/ViewRoomScaffold.kt @@ -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 },