1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-01 09:16:00 +00:00

Fixed status bar color on older Android versions

This commit is contained in:
M66B 2024-05-28 22:23:23 +02:00
parent f0ba5953e0
commit 74dc7fa801

View file

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