change reference

This commit is contained in:
Peter Maquiran
2023-03-28 16:11:59 +01:00
parent 6f99c792dc
commit e1ac8583f3
7 changed files with 20 additions and 17 deletions
+3 -3
View File
@@ -1067,9 +1067,9 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
} else {
this.downloadFileFromBrowser("file", str)
this.downloadFileFromBrowser(msg.attachments[0].name, str)
this.downloadFileFromBrowser(msg.attachments[0].title, str)
this.downloadFileFromBrowser(msg.attachments[0].name, str)
this.downloadFileFromBrowser(msg.attachments[0].title, str)
}
@@ -1087,7 +1087,7 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
});
modal.present();
} else {
this.openFile(str, msg.attachments[0].name, msg.file.type);
this.openFile(str, msg.attachments[0].title, msg.file.type);
}
}