Notification solved

This commit is contained in:
Eudes Inácio
2022-12-30 15:29:10 +01:00
parent 0c9370d610
commit 6321e6f70a
14507 changed files with 47 additions and 1870405 deletions
+6 -1
View File
@@ -192,9 +192,14 @@ export class ProfilePage implements OnInit {
deleteNotification(index) {
this.notificationdata = this.notificationdata.filter(item => item.index != index);
console.log(this.notificationdata)
console.log(this.notificationdata)
this.storageservice.store("Notifications", JSON.stringify(this.notificationdata)).then(() => {
//this.storageservice.remove("Notifications")
this.storageservice.store("Notifications", this.notificationdata).then((store) => {
console.log(store)
this.storageservice.get("Notifications").then((value) => {
console.log(value)
}).catch((error) => {
console.error('storage delete notification: ',error)
})