From 6891471ce8521e1948549c89886ef7e1030c6cee Mon Sep 17 00:00:00 2001 From: kosyak Date: Wed, 22 May 2024 21:34:30 +0200 Subject: [PATCH] fix --- .../java/eu/siacs/conversations/ui/ConversationFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java index 03cf922b7..5c864d673 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java @@ -1588,11 +1588,13 @@ public class ConversationFragment extends XmppFragment messageListAdapter.handleTextQuotes(body, activity.isDarkTheme(), true, message); binding.contextPreviewImage.setVisibility(View.GONE); binding.contextPreviewDoc.setVisibility(View.GONE); + binding.contextPreviewAudio.setVisibility(View.GONE); body.append(" 🖼️"); } else { messageListAdapter.handleTextQuotes(body, activity.isDarkTheme(), true, message); binding.contextPreviewImage.setVisibility(View.GONE); binding.contextPreviewDoc.setVisibility(View.GONE); + binding.contextPreviewAudio.setVisibility(View.GONE); } binding.contextPreviewText.setText(body); binding.contextPreviewAuthor.setText(message.getAvatarName());