Skip to content
Snippets Groups Projects
Commit 7603db8c authored by Thomas's avatar Thomas
Browse files

Missing media description for previews

parent 663e3346
Branches media_preview
Tags
No related merge requests found
......@@ -2259,6 +2259,9 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
if ((!fullAttachement || statusToDeal.sensitive) && !singleImage) {
layoutMediaBinding.count.setText(String.format(Locale.getDefault(), "%d/%d", mediaPosition, statusToDeal.media_attachments.size()));
}
if (attachment.description != null && attachment.description.trim().length() > 0) {
layoutMediaBinding.media.setContentDescription(attachment.description.trim());
}
String finalUrl;
if (attachment.url == null) {
finalUrl = attachment.remote_url;
......
......@@ -9,6 +9,7 @@ Added:
Fixed:
- Dynamic color for Android 12+
- Missing media description for previews
- Fix a crash when replying
- Fix button size not changed
- Forward tags in replies
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment