Permalink
Browse files

Step 1.8: Check if cordova exists

  • Loading branch information...
DAB0mB committed Jan 26, 2017
1 parent 5d69f04 commit 0375f808bdd1ea25587a40773e4c969f5fa691bc
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/app/app.component.ts
View
@@ -15,8 +15,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 0375f80

Please sign in to comment.