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 4319a42d03
commit 1e4be645b8
No known key found for this signature in database
GPG key ID: A5571FCDC53ADDE6

View file

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