forked from CIT/Vmeda.Online
		
	MOBILE-2163 config: Increase splash screen time and fix status bar
This commit is contained in:
		
							parent
							
								
									0703237441
								
							
						
					
					
						commit
						a9bed90c0c
					
				| @ -33,7 +33,7 @@ | |||||||
|     <preference name="AndroidPersistentFileLocation" value="Compatibility" /> |     <preference name="AndroidPersistentFileLocation" value="Compatibility" /> | ||||||
|     <preference name="iosPersistentFileLocation" value="Compatibility" /> |     <preference name="iosPersistentFileLocation" value="Compatibility" /> | ||||||
|     <preference name="SplashScreen" value="screen" /> |     <preference name="SplashScreen" value="screen" /> | ||||||
|     <preference name="SplashScreenDelay" value="3000" /> |     <preference name="SplashScreenDelay" value="10000" /> | ||||||
|     <preference name="SplashMaintainAspectRatio" value="true" /> |     <preference name="SplashMaintainAspectRatio" value="true" /> | ||||||
|     <feature name="StatusBar"> |     <feature name="StatusBar"> | ||||||
|         <param name="ios-package" onload="true" value="CDVStatusBar" /> |         <param name="ios-package" onload="true" value="CDVStatusBar" /> | ||||||
|  | |||||||
| @ -41,7 +41,12 @@ export class MoodleMobileApp implements OnInit { | |||||||
|         platform.ready().then(() => { |         platform.ready().then(() => { | ||||||
|             // Okay, so the platform is ready and our plugins are available.
 |             // Okay, so the platform is ready and our plugins are available.
 | ||||||
|             // Here you can do any higher level native things you might need.
 |             // 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(); |             splashScreen.hide(); | ||||||
|         }); |         }); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user