Allow saving attachments of drafts

This commit is contained in:
M66B
2019-09-22 10:29:59 +02:00
parent 9d24662dd8
commit b40b2b2e3e
3 changed files with 232 additions and 189 deletions

View File

@@ -126,7 +126,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
ivStatus.setVisibility(View.GONE);
}
ibSave.setVisibility(readonly && attachment.available ? View.VISIBLE : View.GONE);
ibSave.setVisibility(attachment.available ? View.VISIBLE : View.GONE);
if (attachment.progress != null)
progressbar.setProgress(attachment.progress);