From feee9e8db90e66cf2346f7c5cc24f075eb70676c Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Fri, 30 Sep 2022 10:37:00 +0200 Subject: [PATCH] fix: status bar being black on Android 13 devices --- android/app/src/main/res/values/styles.xml | 6 ++++-- src/app/app.component.ts | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index be874e54..eab3be26 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -1,5 +1,5 @@ - + - \ No newline at end of file + diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 7a00c1ec..4125a059 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -100,6 +100,7 @@ export class AppComponent implements AfterContentInit { .trim(), }); await StatusBar.setStyle({style: Style.Dark}); + await StatusBar.setOverlaysWebView({overlay: false}); await NavigationBar.setColor({ color: getComputedStyle(document.documentElement) .getPropertyValue('--ion-background-color')