1
0
Fork 0
mirror of https://github.com/sensebox/blockly-app synced 2025-04-05 09:00:27 +02:00

fix hidden status bar on android

This commit is contained in:
Norwin 2019-02-16 22:08:13 +01:00
parent 0ce3d3471b
commit 2d4da9af7d

View file

@ -33,10 +33,12 @@ export class openSenseApp {
this.translate.use(this.translate.getBrowserLang()) // @TODO: check if this works on all platforms! this.translate.use(this.translate.getBrowserLang()) // @TODO: check if this works on all platforms!
// @TODO: also pass language to blockly (if possible?) // @TODO: also pass language to blockly (if possible?)
statusBar.styleDefault(); if ((<any>window).cordova) {
splashScreen.hide(); statusBar.overlaysWebView(false)
statusBar.backgroundColorByHexString(COLORS.PRIMARY)
splashScreen.hide() statusBar.styleLightContent()
splashScreen.hide()
}
}) })
} }