правка
This commit is contained in:
gofnnp 2023-01-12 02:04:56 +04:00
parent 5e69d6e5c5
commit 4d16fa4184
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ export class DownloadAppDirective implements OnInit {
this.renderer.listen('window', 'appinstalled', (evt) => {
console.log('INSTALLED!!!');
});
if ((this.deviceType == 'android' && this.deferredPrompt) || this.deviceType == 'ios') {
if (!((this.deviceType == 'android' && this.deferredPrompt) || this.deviceType == 'ios')) {
this.el.nativeElement.style.display = 'none'
}
}

View File

@ -58,7 +58,7 @@
</ng-container>
<li
class="woocommerce-MyAccount-navigation-link"
*appDownloadApp
appDownloadApp
>
<div class="container">
<img