Small improvement

This commit is contained in:
M66B 2021-08-25 08:18:31 +02:00
parent b2baa98565
commit f281b5ba88
1 changed files with 2 additions and 1 deletions

View File

@ -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) {