Fix issue #662 - Fix nav bar color in light mode

maths
Thomas 2 years ago
parent fa2355b25f
commit f4a38504cd

@ -495,10 +495,10 @@ public class MediaActivity extends BaseTransparentActivity implements OnDownload
// except for the ones that make the content appear under the system bars. // except for the ones that make the content appear under the system bars.
private void showSystemUI() { private void showSystemUI() {
View decorView = getWindow().getDecorView(); View decorView = getWindow().getDecorView();
decorView.setSystemUiVisibility( decorView.setSystemUiVisibility(flags |
View.SYSTEM_UI_FLAG_LAYOUT_STABLE View.SYSTEM_UI_FLAG_LAYOUT_STABLE
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN); | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
} }
public FragmentMedia getCurrentFragment() { public FragmentMedia getCurrentFragment() {

Loading…
Cancel
Save