Skip to content

Commit

Permalink
feat(Ionic): update typescript depedency and isCapacitorNative fix (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaljeetsingh authored and NathanWalker committed Sep 20, 2018
1 parent b069402 commit 6049c92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@
"jasmine": "^3.1.0",
"rxjs": "^6.2.2",
"strip-json-comments": "~2.0.1",
"typescript": "~2.7.2"
"typescript": "~2.9.2"
}
}
2 changes: 1 addition & 1 deletion src/app.ionic/_files/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class AppComponent {

initializeApp() {
this.platform.ready().then(() => {
if (isCapacitorNative(window)) {
if (this.platform.is('capacitor')) {
StatusBar.setStyle({
style: StatusBarStyle.Dark
});
Expand Down

0 comments on commit 6049c92

Please sign in to comment.