fix cancle notification message

This commit is contained in:
Peter Maquiran
2024-04-01 16:55:26 +01:00
parent f754da8cde
commit f34f80d8dc
3 changed files with 21 additions and 5 deletions
@@ -33,6 +33,7 @@ export class PublicationFromMvService {
folderId: string
constructor(
private publications: PublicationsService,
private toastService: ToastService,
@@ -41,6 +42,7 @@ export class PublicationFromMvService {
private CMAPIService: CMAPIService,
public publicationFolderService: PublicationFolderService,
private platform: Platform,
private modalController: ModalController,
) {}
@@ -226,7 +228,6 @@ export class PublicationFromMvService {
}
closeApp() {
if (window["sharedContent"]) {
alert('close android')
@@ -236,6 +237,11 @@ export class PublicationFromMvService {
} else {
window["sharedContent"] = null
}
if (this.platform.is('ios')) {
this.modalController.dismiss(this.form).then(() => {
});
}
}
}