Skip to content

Commit

Permalink
[merge] Make migration screen fullscreen again
Browse files Browse the repository at this point in the history
Change-Id: I6503b327ccd50dd46411570337d7ccb983704180
  • Loading branch information
SpiritCroc committed Mar 16, 2024
1 parent 4335aff commit 84d6c32
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.input.nestedscroll.nestedScroll
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.PreviewParameter
import chat.schildi.lib.compose.thenIf
import chat.schildi.lib.preferences.ScPrefs
import chat.schildi.lib.preferences.value
import io.element.android.compound.tokens.generated.CompoundIcons
Expand Down Expand Up @@ -168,8 +169,11 @@ private fun RoomListScaffold(
onCreateRoomClicked = onCreateRoomClicked,
onInvitesClicked = onInvitesClicked,
modifier = Modifier
// SC: go to edge for migration screen
.thenIf(state.contentState !is RoomListContentState.Migration) { this
.padding(padding)
.consumeWindowInsets(padding)
}
)
},
floatingActionButton = {
Expand Down

0 comments on commit 84d6c32

Please sign in to comment.