Fixed status bar color on older Android versions

pull/215/head
M66B 7 months ago
parent f0ba5953e0
commit 74dc7fa801

@ -264,7 +264,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
WindowInsetsControllerCompat controller = WindowCompat.getInsetsController(window, window.getDecorView()); WindowInsetsControllerCompat controller = WindowCompat.getInsetsController(window, window.getDecorView());
controller.setAppearanceLightStatusBars(false); controller.setAppearanceLightStatusBars(false);
controller.setAppearanceLightNavigationBars(false); controller.setAppearanceLightNavigationBars(false);
window.setNavigationBarColor(ColorUtils.setAlphaComponent(colorPrimaryDark, 128)); window.setNavigationBarColor(Color.TRANSPARENT);
} }
String requestKey = getRequestKey(); String requestKey = getRequestKey();

Loading…
Cancel
Save