mirror of https://github.com/M66B/FairEmail.git
Small fix
This commit is contained in:
parent
f9b34ec1e7
commit
a777a4391b
|
@ -262,7 +262,7 @@ public class EntityOperation {
|
|||
db.message().setMessageUiHide(message.id, true);
|
||||
|
||||
else if (ATTACHMENT.equals(name))
|
||||
db.attachment().setProgress(jargs.getLong(0), null);
|
||||
db.attachment().setProgress(jargs.getLong(0), 0);
|
||||
|
||||
queue(context, message.account, message.folder, message.id, name, jargs);
|
||||
|
||||
|
|
|
@ -1304,7 +1304,7 @@ public class MessageHelper {
|
|||
|
||||
// Download attachment
|
||||
File file = EntityAttachment.getFile(context, local.id, local.name);
|
||||
db.attachment().setProgress(local.id, null);
|
||||
db.attachment().setProgress(local.id, 0);
|
||||
|
||||
if (EntityAttachment.PGP_CONTENT.equals(apart.encrypt) ||
|
||||
EntityAttachment.SMIME_CONTENT.equals(apart.encrypt)) {
|
||||
|
|
Loading…
Reference in New Issue