mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
a2704a8035
commit
0bfd0d2a9b
|
@ -266,7 +266,8 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
||||||
controller.setAppearanceLightStatusBars(false);
|
controller.setAppearanceLightStatusBars(false);
|
||||||
controller.setAppearanceLightNavigationBars(false);
|
controller.setAppearanceLightNavigationBars(false);
|
||||||
window.setNavigationBarColor(Color.TRANSPARENT);
|
window.setNavigationBarColor(Color.TRANSPARENT);
|
||||||
window.setNavigationBarContrastEnforced(false);
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
|
||||||
|
window.setNavigationBarContrastEnforced(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
String requestKey = getRequestKey();
|
String requestKey = getRequestKey();
|
||||||
|
|
Loading…
Reference in New Issue