From d1eee6cb261f6ac68a3d19a6497547f72fadbf05 Mon Sep 17 00:00:00 2001 From: gofnnp Date: Sun, 11 Sep 2022 22:09:37 +0400 Subject: [PATCH] =?UTF-8?q?dev=20#12401=20=D0=BD=D0=B0=D1=88=D0=B5=D0=BB?= =?UTF-8?q?=20=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20=D0=B8=D0=B7-=D0=B7=D0=B0?= =?UTF-8?q?=20=D0=BA=D0=BE=D1=82=D0=BE=D1=80=D0=BE=D0=B3=D0=BE=20=D0=B2?= =?UTF-8?q?=D1=81=D0=B5=20=D0=BB=D0=BE=D0=BC=D0=B0=D0=BB=D0=BE=D1=81=D1=8C?= =?UTF-8?q?=20=D0=BD=D0=B0=20=D0=B0=D0=B9=D1=84=D0=BE=D0=BD=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/pages/main/main.component.html | 2 +- src/app/pages/main/main.component.ts | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/app/pages/main/main.component.html b/src/app/pages/main/main.component.html index 249274b..2f5cefa 100644 --- a/src/app/pages/main/main.component.html +++ b/src/app/pages/main/main.component.html @@ -1,5 +1,5 @@
- +
\ No newline at end of file diff --git a/src/app/pages/main/main.component.ts b/src/app/pages/main/main.component.ts index ea273ab..5f3112f 100644 --- a/src/app/pages/main/main.component.ts +++ b/src/app/pages/main/main.component.ts @@ -27,22 +27,22 @@ export class MainComponent implements OnInit { public renderer: Renderer2, private messageService: MessageService ) { - renderer.listen('window', 'appinstalled', (evt) => { - console.log('INSTALLED!!!') - }) - renderer.listen('window', 'beforeinstallprompt', (e) => { - e.preventDefault() - this.deferredPrompt = e - }) - route.queryParams.subscribe( (params) => { - console.log('####: ', params) - if (params['token']) this.token = params['token'] - }); + // renderer.listen('window', 'appinstalled', (evt) => { + // console.log('INSTALLED!!!') + // }) + // renderer.listen('window', 'beforeinstallprompt', (e) => { + // e.preventDefault() + // this.deferredPrompt = e + // }) + // route.queryParams.subscribe( (params) => { + // console.log('####: ', params) + // if (params['token']) this.token = params['token'] + // }); } ngOnInit(): void { this.appendAccount(); - this.checkRequestPermission() + // this.checkRequestPermission() } downloadPWA() {