Small fix

This commit is contained in:
M66B 2020-01-04 20:02:29 +01:00
parent f9b34ec1e7
commit a777a4391b
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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)) {