From f4a38504cd544977cd84245f2dc290c5dc5fe22d Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 21 Dec 2022 14:49:01 +0100 Subject: [PATCH] Fix issue #662 - Fix nav bar color in light mode --- .../java/app/fedilab/android/activities/MediaActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/app/fedilab/android/activities/MediaActivity.java b/app/src/main/java/app/fedilab/android/activities/MediaActivity.java index c8d83615..608f6f35 100644 --- a/app/src/main/java/app/fedilab/android/activities/MediaActivity.java +++ b/app/src/main/java/app/fedilab/android/activities/MediaActivity.java @@ -495,10 +495,10 @@ public class MediaActivity extends BaseTransparentActivity implements OnDownload // except for the ones that make the content appear under the system bars. private void showSystemUI() { View decorView = getWindow().getDecorView(); - decorView.setSystemUiVisibility( + decorView.setSystemUiVisibility(flags | View.SYSTEM_UI_FLAG_LAYOUT_STABLE - | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION - | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN); + | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION + | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN); } public FragmentMedia getCurrentFragment() {