Fix drawer scaffold

Change-Id: I553abedf0690f89fdcd552e04364e4b598d8998c
feature/adaptive_scaffold
Miłosz Moczkowski 1 year ago
parent f6c2cd9a10
commit 7cc7702c92

@ -351,17 +351,17 @@ private fun <T> DrawerScaffold(
selectedTextColor = colors.selectedTextColor,
unselectedTextColor = colors.unselectedTextColor,
),
modifier = Modifier.padding(8.dp)
modifier = Modifier.padding(8.dp),
)
}
}
},
modifier = Modifier.safeDrawingPadding(),
modifier = Modifier
.safeDrawingPadding()
.fillMaxHeight()
.fillMaxWidth(weight),
) {
Scaffold(
modifier = Modifier
.fillMaxHeight()
.fillMaxWidth(weight),
topBar = topBar,
snackbarHost = snackbarHost,
containerColor = colors.contentContainerColor,

Loading…
Cancel
Save