Lot of changes

This commit is contained in:
Eudes Inácio
2021-11-09 17:23:39 +01:00
parent 308e5b36fe
commit bef79d674b
29 changed files with 84 additions and 247 deletions
+3 -4
View File
@@ -6,7 +6,7 @@ import { AuthService } from 'src/app/services/auth.service';
import { LocalstoreService } from 'src/app/store/localstore.service';
import { EditProfilePage } from './edit-profile/edit-profile.page';
import { StorageService } from '../../services/storage.service';
/* import { NotificationsService } from '../../services/notifications.service'; */
import { NotificationsService } from '../../services/notifications.service';
import { SessionStore } from 'src/app/store/session.service';
import { EventTrigger } from '../../services/eventTrigger.service';
import { ThemeService } from 'src/app/services/theme.service'
@@ -38,9 +38,8 @@ export class ProfilePage implements OnInit {
private localstoreService: LocalstoreService,
private storageservice: StorageService,
private zone: NgZone,
/* private notificationservice: NotificationsService, */
private notificationservice: NotificationsService,
private platform: Platform,
/* private notificationsService: NotificationsService, */
private eventtrigger: EventTrigger,
public ThemeService: ThemeService
) {
@@ -189,7 +188,7 @@ export class ProfilePage implements OnInit {
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/expedientes-pr', IdObject, 'gabinete-digital']));
}
//this.notificationservice.tempClearArray();
this.notificationservice.tempClearArray();
this.deleteNotification(index);
this.eventtrigger.publishSomeData({
notification: "deleted"