1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Fix mime type on opening image

This commit is contained in:
M66B 2020-03-15 07:45:03 +01:00
parent 485e1c1797
commit b94a254d7f

View file

@ -102,7 +102,7 @@ public class AdapterImage extends RecyclerView.Adapter<AdapterImage.ViewHolder>
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();