parent
e570e82f90
commit
88b0d92300
@ -31,18 +31,18 @@ export class DownloadAppDirective implements OnInit {
|
||||
});
|
||||
this.getTypeDevice();
|
||||
|
||||
if (
|
||||
!(
|
||||
(this.deviceType == 'android' && this.deferredPrompt) ||
|
||||
this.deviceType == 'ios'
|
||||
)
|
||||
) {
|
||||
console.log(this.deviceType);
|
||||
console.log(this.deferredPrompt);
|
||||
|
||||
this.el.nativeElement.style.display = 'none';
|
||||
}
|
||||
}, 0)
|
||||
if (
|
||||
!(
|
||||
(this.deviceType == 'android' && this.deferredPrompt) ||
|
||||
this.deviceType == 'ios'
|
||||
)
|
||||
) {
|
||||
console.log(this.deviceType);
|
||||
console.log(this.deferredPrompt);
|
||||
|
||||
this.el.nativeElement.style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
||||
ngOnInit(): void {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user