Skip to content

Commit

Permalink
Fix black-on-black status bars with hidden media
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
frebib committed Oct 5, 2024
1 parent 4319a42 commit 1e4be64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e4be64

Please sign in to comment.