Bug solved on despacho pr

This commit is contained in:
Eudes Inácio
2023-02-03 14:40:09 +01:00
parent 9c76f87944
commit 715e1cff3e
11 changed files with 81 additions and 50 deletions
+9 -2
View File
@@ -43,7 +43,7 @@ export class ProfilePage implements OnInit {
private storageservice: StorageService,
private zone: NgZone,
private platform: Platform,
private eventtrigger: EventTrigger,
private eventTriger: EventTrigger,
public ThemeService: ThemeService,
) {
@@ -53,6 +53,13 @@ export class ProfilePage implements OnInit {
this.logoutOut = true
});
this.eventTriger.getObservable().subscribe((event) => {
if(event.notification == "recive") {
this.getNotificationData();
}
console.log(event)
});
setTimeout(() => {
this.hideImage = true
}, 2000)
@@ -193,7 +200,7 @@ export class ProfilePage implements OnInit {
// this.notificationservice.tempClearArray();
this.deleteNotification(index);
this.eventtrigger.publishSomeData({
this.eventTriger.publishSomeData({
notification: "deleted"
})