Skip to content

Commit 9da739e

Browse files
committed
Update PermanentDrawerSheet container color
1 parent 9f7b56f commit 9da739e

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

app/src/main/java/com/example/reply/ui/ReplyHomeScreen.kt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,10 @@ import androidx.compose.foundation.layout.Arrangement
2121
import androidx.compose.foundation.layout.Box
2222
import androidx.compose.foundation.layout.Column
2323
import androidx.compose.foundation.layout.Row
24-
import androidx.compose.foundation.layout.WindowInsets
25-
import androidx.compose.foundation.layout.WindowInsetsSides
2624
import androidx.compose.foundation.layout.fillMaxHeight
2725
import androidx.compose.foundation.layout.fillMaxSize
2826
import androidx.compose.foundation.layout.fillMaxWidth
29-
import androidx.compose.foundation.layout.only
3027
import androidx.compose.foundation.layout.padding
31-
import androidx.compose.foundation.layout.safeDrawing
3228
import androidx.compose.foundation.layout.size
3329
import androidx.compose.foundation.layout.statusBarsPadding
3430
import androidx.compose.foundation.layout.width
@@ -101,10 +97,8 @@ fun ReplyHomeScreen(
10197
PermanentNavigationDrawer(
10298
drawerContent = {
10399
PermanentDrawerSheet(
104-
modifier = Modifier
105-
.width(dimensionResource(R.dimen.drawer_width))
106-
.background(MaterialTheme.colorScheme.inverseOnSurface),
107-
windowInsets = WindowInsets.safeDrawing.only(WindowInsetsSides.Top),
100+
modifier = Modifier.width(dimensionResource(R.dimen.drawer_width)),
101+
drawerContainerColor = MaterialTheme.colorScheme.inverseOnSurface,
108102
) {
109103
NavigationDrawerContent(
110104
selectedDestination = replyUiState.currentMailbox,

0 commit comments

Comments
 (0)