fix
This commit is contained in:
parent
bb95bdf541
commit
6891471ce8
|
@ -1588,11 +1588,13 @@ public class ConversationFragment extends XmppFragment
|
||||||
messageListAdapter.handleTextQuotes(body, activity.isDarkTheme(), true, message);
|
messageListAdapter.handleTextQuotes(body, activity.isDarkTheme(), true, message);
|
||||||
binding.contextPreviewImage.setVisibility(View.GONE);
|
binding.contextPreviewImage.setVisibility(View.GONE);
|
||||||
binding.contextPreviewDoc.setVisibility(View.GONE);
|
binding.contextPreviewDoc.setVisibility(View.GONE);
|
||||||
|
binding.contextPreviewAudio.setVisibility(View.GONE);
|
||||||
body.append(" 🖼️");
|
body.append(" 🖼️");
|
||||||
} else {
|
} else {
|
||||||
messageListAdapter.handleTextQuotes(body, activity.isDarkTheme(), true, message);
|
messageListAdapter.handleTextQuotes(body, activity.isDarkTheme(), true, message);
|
||||||
binding.contextPreviewImage.setVisibility(View.GONE);
|
binding.contextPreviewImage.setVisibility(View.GONE);
|
||||||
binding.contextPreviewDoc.setVisibility(View.GONE);
|
binding.contextPreviewDoc.setVisibility(View.GONE);
|
||||||
|
binding.contextPreviewAudio.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
binding.contextPreviewText.setText(body);
|
binding.contextPreviewText.setText(body);
|
||||||
binding.contextPreviewAuthor.setText(message.getAvatarName());
|
binding.contextPreviewAuthor.setText(message.getAvatarName());
|
||||||
|
|
Loading…
Reference in a new issue