правка
This commit is contained in:
gofnnp 2023-01-12 19:27:34 +04:00
parent 85174c1fab
commit e570e82f90

View File

@ -25,6 +25,10 @@ export class DownloadAppDirective implements OnInit {
console.log('#: ', e); console.log('#: ', e);
this.deferredPrompt = e; this.deferredPrompt = e;
});
this.renderer.listen('window', 'appinstalled', (evt) => {
console.log('INSTALLED!!!');
});
this.getTypeDevice(); this.getTypeDevice();
if ( if (
@ -38,10 +42,6 @@ export class DownloadAppDirective implements OnInit {
this.el.nativeElement.style.display = 'none'; this.el.nativeElement.style.display = 'none';
} }
});
this.renderer.listen('window', 'appinstalled', (evt) => {
console.log('INSTALLED!!!');
});
}, 0) }, 0)
} }