From 7378bb3dca5aaecb64d1b18fd52e775cd90299a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eudes=20In=C3=A1cio?= Date: Fri, 5 Nov 2021 10:44:36 +0100 Subject: [PATCH] Forget to save home page --- src/app/home/home.page.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts index 89d15ef7e..2df4678e0 100644 --- a/src/app/home/home.page.ts +++ b/src/app/home/home.page.ts @@ -24,10 +24,6 @@ import { Storage } from '@ionic/storage'; import { EventsService } from 'src/app/services/events.service'; import { ScreenOrientation } from '@ionic-native/screen-orientation/ngx'; -<<<<<<< HEAD - -======= ->>>>>>> migraCapacitor @Component({ selector: 'app-home', templateUrl: './home.page.html', @@ -87,11 +83,7 @@ export class HomePage implements OnInit { private offlinemanager: OfflineManagerService, private storage: Storage, private eventservice: EventsService, -<<<<<<< HEAD - private screenOrientation: ScreenOrientation) { -======= private screenOrientation: ScreenOrientation,) { ->>>>>>> migraCapacitor /* this.webNotificationPopupService.askNotificationPermission() */ @@ -121,22 +113,13 @@ export class HomePage implements OnInit { ngOnInit() { -<<<<<<< HEAD - this.notificationsService.onReceviNotification(); -======= this.notificationsService.onReciveForeground(); this.notificationsService.onReciveBackground(); ->>>>>>> migraCapacitor window.addEventListener('online', () => { console.log('Became online') this.backgroundservice.online() if (this.platform.is('desktop') || this.platform.is('mobileweb')) { -<<<<<<< HEAD - this.webnotification.webconnection(); -======= - ->>>>>>> migraCapacitor } else { /* this.notificationsService.onReceviNotification(); */ this.offlinemanager.synchnize()