Fixed status bar color

pull/215/head
M66B 7 months ago
parent 84d5610039
commit 231e182e02

@ -255,10 +255,9 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
EdgeToEdge.enable(this); EdgeToEdge.enable(this);
boolean dark = Helper.isDarkTheme(this);
WindowInsetsControllerCompat controller = WindowCompat.getInsetsController(window, window.getDecorView()); WindowInsetsControllerCompat controller = WindowCompat.getInsetsController(window, window.getDecorView());
controller.setAppearanceLightStatusBars(!dark); controller.setAppearanceLightStatusBars(false);
controller.setAppearanceLightNavigationBars(!dark); controller.setAppearanceLightNavigationBars(false);
} }
String requestKey = getRequestKey(); String requestKey = getRequestKey();

Loading…
Cancel
Save