Prevent crash

pull/215/head
M66B 7 months ago
parent a2704a8035
commit 0bfd0d2a9b

@ -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…
Cancel
Save