This commit is contained in:
Peter Maquiran
2022-08-05 14:42:19 +01:00
parent 9299d391cd
commit f3c77a4279
+9
View File
@@ -57,6 +57,8 @@ export class MessageService {
delate = false
delateRequest = false
downloadLoader: boolean = false
downloadAttachments = false;
downloadAttachmentsTemp = 0;
constructor(private storage: Storage,
private NfService: NfService,
@@ -254,7 +256,14 @@ export class MessageService {
// save the changes to the storage
this.save()
this.downloadLoader = false;
this.downloadAttachments = true
this.downloadAttachmentsTemp++;
}
}, ()=>{
// error
this.downloadLoader = false;
this.downloadAttachments = true
this.downloadAttachmentsTemp++;
});
}