Skip to content

Commit

Permalink
Ensure showing snackBar on a large screen.
Browse files Browse the repository at this point in the history
Change-Id: I0fd13d756b6967d939991422ad03c05f2e2a18ff
  • Loading branch information
Jaehwa-Noh authored and dturner committed Nov 19, 2024
1 parent d42262c commit 23ba734
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,12 @@ internal fun NiaApp(
containerColor = Color.Transparent,
contentColor = MaterialTheme.colorScheme.onBackground,
contentWindowInsets = WindowInsets(0, 0, 0, 0),
snackbarHost = { SnackbarHost(snackbarHostState) },
snackbarHost = {
SnackbarHost(
snackbarHostState,
modifier = Modifier.windowInsetsPadding(WindowInsets.safeDrawing),
)
},
) { padding ->
Column(
Modifier
Expand Down

0 comments on commit 23ba734

Please sign in to comment.