mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 09:47:13 +00:00
Prevent crash
This commit is contained in:
parent
a2704a8035
commit
0bfd0d2a9b
1 changed files with 2 additions and 1 deletions
|
@ -266,6 +266,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|||
controller.setAppearanceLightStatusBars(false);
|
||||
controller.setAppearanceLightNavigationBars(false);
|
||||
window.setNavigationBarColor(Color.TRANSPARENT);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
|
||||
window.setNavigationBarContrastEnforced(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue