Skip to content

Commit

Permalink
fix: ts error with cordova
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Feb 8, 2020
1 parent 68d287e commit 9ae8b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/app/templates/src/app/_app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class AppComponent implements OnInit, OnDestroy {
private onCordovaReady() {
log.debug('device ready');

if (window.cordova) {
if ((window as any).cordova) {
log.debug('Cordova init');

this.keyboard.hideFormAccessoryBar(true);
Expand Down

0 comments on commit 9ae8b51

Please sign in to comment.