From b94a254d7f5ca6774babc5d2744bad37fa703a19 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 15 Mar 2020 07:45:03 +0100 Subject: [PATCH] Fix mime type on opening image --- app/src/main/java/eu/faircode/email/AdapterImage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterImage.java b/app/src/main/java/eu/faircode/email/AdapterImage.java index 5c06e550dc..d7694f31b1 100644 --- a/app/src/main/java/eu/faircode/email/AdapterImage.java +++ b/app/src/main/java/eu/faircode/email/AdapterImage.java @@ -102,7 +102,7 @@ public class AdapterImage extends RecyclerView.Adapter EntityAttachment attachment = items.get(pos); if (attachment.available) - Helper.share(context, attachment.getFile(context), attachment.type, attachment.name); + Helper.share(context, attachment.getFile(context), attachment.getMimeType(), attachment.name); else { if (attachment.progress == null) { Bundle args = new Bundle();