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:
parent
485e1c1797
commit
b94a254d7f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue