fix(android): Prevent status bar from overlapping content
This commit is contained in:
parent
6110530943
commit
813e4ac70c
2 changed files with 3 additions and 0 deletions
|
|
@ -13,6 +13,8 @@
|
||||||
<item name="windowActionBar">false</item>
|
<item name="windowActionBar">false</item>
|
||||||
<item name="windowNoTitle">true</item>
|
<item name="windowNoTitle">true</item>
|
||||||
<item name="android:background">@null</item>
|
<item name="android:background">@null</item>
|
||||||
|
<item name="android:fitsSystemWindows">true</item>
|
||||||
|
<item name="android:statusBarColor">#09090b</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ const config: CapacitorConfig = {
|
||||||
StatusBar: {
|
StatusBar: {
|
||||||
backgroundColor: '#09090b',
|
backgroundColor: '#09090b',
|
||||||
style: 'DARK',
|
style: 'DARK',
|
||||||
|
overlaysWebView: false,
|
||||||
},
|
},
|
||||||
PushNotifications: {
|
PushNotifications: {
|
||||||
presentationOptions: ['badge', 'sound', 'alert'],
|
presentationOptions: ['badge', 'sound', 'alert'],
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue