Badged notification added

This commit is contained in:
Eudes Inácio
2021-08-19 18:28:00 +01:00
parent 6d13772720
commit 69e7c67d80
4 changed files with 77 additions and 34 deletions
+15 -10
View File
@@ -42,7 +42,18 @@ export class ProfilePage implements OnInit {
}
ngOnInit() {
this.getNotificationData();
}
close() {
this.modalController.dismiss();
}
notImplemented() { }
async getNotificationData(){
this.storageservice.get("Notifications").then((value) => {
console.log("Init get store", value)
@@ -91,17 +102,11 @@ export class ProfilePage implements OnInit {
console.log("Notificaaa", this.notificationdata)
})
console.log("Notificaaa", this.notificationdata)
/* await new Promise(resolve => setTimeout(resolve, 1000));
await this.getNotificationData(); */
console.log('Timer badge count')
}
close() {
this.modalController.dismiss();
}
notImplemented() { }
notificatinsRoutes = (index, Service, Object, IdObject, FolderId) => {
if (Service === "agenda") {
this.zone.run(() => this.router.navigate(['/home/agenda', IdObject, 'agenda']));