Reduce system bar scrim opacity
This commit is contained in:
parent
ebb7a99882
commit
aa0cd9a062
@ -100,7 +100,7 @@ fun PagerScaffold(
|
||||
)
|
||||
} else if (showStatusBarScrim) {
|
||||
systemUiController.setStatusBarColor(
|
||||
colorSurface.copy(0.75f),
|
||||
colorSurface.copy(0.7f),
|
||||
)
|
||||
} else {
|
||||
systemUiController.setStatusBarColor(
|
||||
@ -113,7 +113,7 @@ fun PagerScaffold(
|
||||
LaunchedEffect(darkNavBarIcons, showNavBarScrim) {
|
||||
if (showNavBarScrim) {
|
||||
systemUiController.setNavigationBarColor(
|
||||
colorSurface.copy(0.75f),
|
||||
colorSurface.copy(0.7f),
|
||||
)
|
||||
} else {
|
||||
systemUiController.setNavigationBarColor(
|
||||
|
||||
@ -98,7 +98,7 @@ fun PullDownScaffold(
|
||||
)
|
||||
} else if (showStatusBarScrim) {
|
||||
systemUiController.setStatusBarColor(
|
||||
colorSurface.copy(0.75f),
|
||||
colorSurface.copy(0.7f),
|
||||
)
|
||||
} else {
|
||||
systemUiController.setStatusBarColor(
|
||||
@ -111,7 +111,7 @@ fun PullDownScaffold(
|
||||
LaunchedEffect(darkNavBarIcons, showNavBarScrim) {
|
||||
if (showNavBarScrim) {
|
||||
systemUiController.setNavigationBarColor(
|
||||
colorSurface.copy(0.75f),
|
||||
colorSurface.copy(0.7f),
|
||||
)
|
||||
} else {
|
||||
systemUiController.setNavigationBarColor(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user