parent
5e69d6e5c5
commit
4d16fa4184
@ -22,7 +22,7 @@ export class DownloadAppDirective implements OnInit {
|
|||||||
this.renderer.listen('window', 'appinstalled', (evt) => {
|
this.renderer.listen('window', 'appinstalled', (evt) => {
|
||||||
console.log('INSTALLED!!!');
|
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'
|
this.el.nativeElement.style.display = 'none'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -58,7 +58,7 @@
|
|||||||
</ng-container>
|
</ng-container>
|
||||||
<li
|
<li
|
||||||
class="woocommerce-MyAccount-navigation-link"
|
class="woocommerce-MyAccount-navigation-link"
|
||||||
*appDownloadApp
|
appDownloadApp
|
||||||
>
|
>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<img
|
<img
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user