MOBILE-2163 config: Increase splash screen time and fix status bar
parent
0703237441
commit
a9bed90c0c
|
@ -33,7 +33,7 @@
|
|||
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
|
||||
<preference name="iosPersistentFileLocation" value="Compatibility" />
|
||||
<preference name="SplashScreen" value="screen" />
|
||||
<preference name="SplashScreenDelay" value="3000" />
|
||||
<preference name="SplashScreenDelay" value="10000" />
|
||||
<preference name="SplashMaintainAspectRatio" value="true" />
|
||||
<feature name="StatusBar">
|
||||
<param name="ios-package" onload="true" value="CDVStatusBar" />
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue