Reduce system bar scrim opacity
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user