Fix mime type on opening image

pull/176/head
M66B 4 years ago
parent 485e1c1797
commit b94a254d7f

@ -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();

Loading…
Cancel
Save