This commit is contained in:
Peter Maquiran
2022-02-08 19:17:44 +01:00
parent 31fc4039d2
commit 53fbba4094
6 changed files with 60 additions and 51 deletions
+3
View File
@@ -152,10 +152,13 @@ export class HomePage implements OnInit {
} else {
this.synchWhenOnline()
}
//this.WsChatService.login()
});
window.addEventListener('offline', () => {
console.log('Became offline')
this.backgroundservice.offline()
//this.WsChatService.logout()
});
this.updateList()