We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b752a00 + 84f665f commit 4509e2fCopy full SHA for 4509e2f
core/ui/compose/theme2/common/src/main/kotlin/app/k9mail/core/ui/compose/theme2/SystemBar.kt
@@ -1,7 +1,6 @@
1
package app.k9mail.core.ui.compose.theme2
2
3
import android.app.Activity
4
-import android.graphics.Color
5
import androidx.compose.runtime.Composable
6
import androidx.compose.runtime.SideEffect
7
import androidx.compose.ui.graphics.toArgb
@@ -18,7 +17,7 @@ fun SystemBar(
18
17
SideEffect {
19
val window = (view.context as Activity).window
20
window.statusBarColor = colorScheme.surfaceContainer.toArgb()
21
- window.navigationBarColor = Color.TRANSPARENT
+ window.navigationBarColor = colorScheme.surfaceContainer.toArgb()
22
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = !darkTheme
23
}
24
0 commit comments