Fix black-on-black status bars with hidden media

In dark mode, the ElementTheme composable incorrectly applied a dark
colour to the status bars, which was nearly invisible on top of the
black background of the app.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock 2024-10-05 15:52:04 +00:00
parent b919781b8e
commit aa6159e9ad

View file

@ -46,7 +46,7 @@ fun ProtectedView(
.background(Color(0x99000000)), .background(Color(0x99000000)),
contentAlignment = Alignment.Center, contentAlignment = Alignment.Center,
) { ) {
ElementTheme(darkTheme = false) { ElementTheme(darkTheme = false, applySystemBarsUpdate = false) {
// Not using a button to be able to have correct size // Not using a button to be able to have correct size
Text( Text(
modifier = Modifier modifier = Modifier