mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Small improvements
This commit is contained in:
@@ -267,7 +267,9 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
||||
if (message == null || message.uid == null)
|
||||
return null;
|
||||
|
||||
db.attachment().setProgress(id, 0);
|
||||
EntityAttachment attachment = db.attachment().getAttachment(id);
|
||||
if (attachment == null || attachment.progress != null || attachment.available)
|
||||
return null;
|
||||
|
||||
EntityOperation.queue(context, message, EntityOperation.ATTACHMENT, id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user