diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 4ffe894..944442a 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -33,10 +33,12 @@ export class openSenseApp { this.translate.use(this.translate.getBrowserLang()) // @TODO: check if this works on all platforms! // @TODO: also pass language to blockly (if possible?) - statusBar.styleDefault(); - splashScreen.hide(); - - splashScreen.hide() + if ((window).cordova) { + statusBar.overlaysWebView(false) + statusBar.backgroundColorByHexString(COLORS.PRIMARY) + statusBar.styleLightContent() + splashScreen.hide() + } }) }