From 1e4be645b8553721f6523af1a5f626770da99491 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 5 Oct 2024 15:52:04 +0000 Subject: [PATCH] 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 --- .../features/messages/impl/timeline/protection/ProtectedView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/protection/ProtectedView.kt b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/protection/ProtectedView.kt index 6a9db31682..995bef1861 100644 --- a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/protection/ProtectedView.kt +++ b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/protection/ProtectedView.kt @@ -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