Fixed status bar color

This commit is contained in:
M66B 2024-05-23 07:29:17 +02:00
parent 84d5610039
commit 231e182e02
1 changed files with 2 additions and 3 deletions

View File

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