Small improvement

pull/204/head
M66B 3 years ago
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…
Cancel
Save