From 6ffccfa8b3b7a5fbb9bf8755b227a30e87ea5b23 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Tue, 31 Aug 2021 10:19:45 +0100 Subject: [PATCH] add online event callback --- src/app/home/home.page.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts index 226533a97..edc515e76 100644 --- a/src/app/home/home.page.ts +++ b/src/app/home/home.page.ts @@ -159,21 +159,21 @@ export class HomePage implements OnInit { 'despachos', () => { this.despachoRule.getList({updateStore: true}) + } ) + synchro.registerCallback('Online',()=>{ }) synchro.registerCallback('Offline',()=>{ - + }) - - synchro.registerCallback('Notification', (DataArray)=> { this.storageService.get('Notifications').then((data)=>{