Skip to content

Commit 1e4be64

Browse files
committed
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 <[email protected]>
1 parent 4319a42 commit 1e4be64

File tree

1 file changed

+1
-1
lines changed
  • features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/protection

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fun ProtectedView(
4646
.background(Color(0x99000000)),
4747
contentAlignment = Alignment.Center,
4848
) {
49-
ElementTheme(darkTheme = false) {
49+
ElementTheme(darkTheme = false, applySystemBarsUpdate = false) {
5050
// Not using a button to be able to have correct size
5151
Text(
5252
modifier = Modifier

0 commit comments

Comments
 (0)