|
|
@@ -143,10 +143,20 @@ if (navigator.userAgent.includes('#cordova#')) {
|
|
|
function () {
|
|
|
StatusBar.overlaysWebView(true);
|
|
|
window.$vm = app.mount('#app');
|
|
|
- navigator.splashscreen.hide();
|
|
|
- StatusBar.overlaysWebView(false);
|
|
|
- StatusBar.backgroundColorByHexString('#0f0f27');
|
|
|
- StatusBar.styleLightContent();
|
|
|
+ loadSplash(
|
|
|
+ () => {
|
|
|
+ setTimeout(() => {
|
|
|
+ navigator.splashscreen.hide();
|
|
|
+ }, 100);
|
|
|
+ },
|
|
|
+ () => {
|
|
|
+ navigator.splashscreen.hide();
|
|
|
+ }
|
|
|
+ ).then(res => {
|
|
|
+ StatusBar.overlaysWebView(false);
|
|
|
+ StatusBar.backgroundColorByHexString('#0f0f27');
|
|
|
+ StatusBar.styleLightContent();
|
|
|
+ });
|
|
|
// loadSplash(
|
|
|
// () => {
|
|
|
// setTimeout(() => {
|