From 88b0d92300a6e5f6945dcd9838776a1e8911804e Mon Sep 17 00:00:00 2001 From: gofnnp Date: Thu, 12 Jan 2023 19:37:31 +0400 Subject: [PATCH] =?UTF-8?q?dev=20#13538=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/directives/download-app.directive.ts | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/angular/src/app/directives/download-app.directive.ts b/angular/src/app/directives/download-app.directive.ts index 2b3beee..8ce6c16 100644 --- a/angular/src/app/directives/download-app.directive.ts +++ b/angular/src/app/directives/download-app.directive.ts @@ -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 {}