Support opening unknown attachment types via openLink (#2044)
* Support opening unknown attachment types via openLink. #1970 * Fix label text for unknown attachment types
This commit is contained in:
parent
cb2296f248
commit
baa915a0a3
7 changed files with 22 additions and 16 deletions
|
|
@ -83,7 +83,7 @@ public class ConversationViewHolder extends StatusBaseViewHolder {
|
|||
setBookmarked(status.getBookmarked());
|
||||
List<Attachment> attachments = status.getAttachments();
|
||||
boolean sensitive = status.getSensitive();
|
||||
if (statusDisplayOptions.mediaPreviewEnabled() && !hasAudioAttachment(attachments)) {
|
||||
if (statusDisplayOptions.mediaPreviewEnabled() && hasPreviewableAttachment(attachments)) {
|
||||
setMediaPreviews(attachments, sensitive, listener, status.getShowingHiddenContent(),
|
||||
statusDisplayOptions.useBlurhash());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue