mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
b2baa98565
commit
f281b5ba88
|
@ -275,7 +275,8 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
|||
}
|
||||
|
||||
private void onShare(EntityAttachment attachment) {
|
||||
Helper.share(context, attachment.getFile(context), attachment.getMimeType(), attachment.name);
|
||||
String title = (attachment.name == null ? attachment.cid : attachment.name);
|
||||
Helper.share(context, attachment.getFile(context), attachment.getMimeType(), title);
|
||||
}
|
||||
|
||||
private void onDownload(EntityAttachment attachment) {
|
||||
|
|
Loading…
Reference in New Issue