Browse Source

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>
pull/3611/head
Joe Groocock 2 weeks ago
parent
commit
1e4be645b8
No known key found for this signature in database
GPG Key ID: A5571FCDC53ADDE6
  1. 2
      features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/protection/ProtectedView.kt

2
features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/protection/ProtectedView.kt

@ -46,7 +46,7 @@ fun ProtectedView( @@ -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

Loading…
Cancel
Save