From a9bed90c0c5dd610ee5cc8f194e8c233f267ff63 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 13 Jun 2018 09:54:52 +0200 Subject: [PATCH] MOBILE-2163 config: Increase splash screen time and fix status bar --- config.xml | 2 +- src/app/app.component.ts | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config.xml b/config.xml index 8d93693b2..1498e73e0 100644 --- a/config.xml +++ b/config.xml @@ -33,7 +33,7 @@ - + diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 22f8c0aec..5af93f0fe 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -41,7 +41,12 @@ export class MoodleMobileApp implements OnInit { platform.ready().then(() => { // Okay, so the platform is ready and our plugins are available. // Here you can do any higher level native things you might need. - statusBar.styleDefault(); + if (platform.is('android')) { + statusBar.styleLightContent(); + } else { + statusBar.styleDefault(); + } + splashScreen.hide(); });