Permalink
Browse files

Step 1.10: Check if cordova exists

  • Loading branch information...
DAB0mB authored and darkbasic committed Jan 26, 2017
1 parent d414de6 commit e6b1359abf56ea8a02741c2b79012c84f1dd3be2
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/app/app.component.ts
View
@@ -14,8 +14,10 @@ export class MyApp {
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();
splashScreen.hide();
if (platform.is('cordova')) {
statusBar.styleDefault();
splashScreen.hide();
}
});
}
}

0 comments on commit e6b1359

Please sign in to comment.