правка
This commit is contained in:
gofnnp 2023-01-12 19:37:31 +04:00
parent e570e82f90
commit 88b0d92300

View File

@ -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 {}