parent
85174c1fab
commit
e570e82f90
@ -25,6 +25,10 @@ export class DownloadAppDirective implements OnInit {
|
||||
console.log('#: ', e);
|
||||
this.deferredPrompt = e;
|
||||
|
||||
});
|
||||
this.renderer.listen('window', 'appinstalled', (evt) => {
|
||||
console.log('INSTALLED!!!');
|
||||
});
|
||||
this.getTypeDevice();
|
||||
|
||||
if (
|
||||
@ -38,10 +42,6 @@ export class DownloadAppDirective implements OnInit {
|
||||
|
||||
this.el.nativeElement.style.display = 'none';
|
||||
}
|
||||
});
|
||||
this.renderer.listen('window', 'appinstalled', (evt) => {
|
||||
console.log('INSTALLED!!!');
|
||||
});
|
||||
}, 0)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user