Add windowInsetsPadding to NiaBackground

Change-Id: If26e71be75bb76b3f31b575a92044ea72aafc641
pull/1296/head^2
Jaehwa Noh 1 year ago
parent 644e618af1
commit 09be649654

@ -85,7 +85,12 @@ fun NiaApp(
appState.currentTopLevelDestination == TopLevelDestination.FOR_YOU
var showSettingsDialog by rememberSaveable { mutableStateOf(false) }
NiaBackground(modifier = modifier) {
NiaBackground(
modifier = modifier
.windowInsetsPadding(
WindowInsets.safeDrawing.only(WindowInsetsSides.Bottom),
),
) {
NiaGradientBackground(
gradientColors = if (shouldShowGradientBackground) {
LocalGradientColors.current

Loading…
Cancel
Save