Prevent zipping inline attachments

This commit is contained in:
M66B 2022-11-08 14:32:11 +01:00
parent 2552b2844c
commit bd91e9a507
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
popupMenu.getMenu().add(Menu.NONE, R.string.title_share, 1, R.string.title_share);
popupMenu.getMenu().add(Menu.NONE, R.string.title_zip, 2, R.string.title_zip)
.setEnabled(!"application/zip".equals(attachment.type));
.setEnabled(!attachment.isInline() && !attachment.isCompressed());
popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {
@Override