mirror of https://github.com/M66B/FairEmail.git
Fixed status bar color
This commit is contained in:
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…
Reference in New Issue