forked from mirror/monocles_chat_clean
fix up
This commit is contained in:
parent
6405e1f35e
commit
2e001a8138
1 changed files with 5 additions and 1 deletions
|
@ -1959,6 +1959,10 @@ public class ConversationFragment extends XmppFragment
|
|||
messageListAdapter.setOnInlineImageLongClicked(this);
|
||||
messageListAdapter.setConversationFragment(this);
|
||||
binding.messagesView.setAdapter(messageListAdapter);
|
||||
|
||||
binding.textinput.addTextChangedListener(
|
||||
new StylingHelper.MessageEditorStyler(binding.textinput, messageListAdapter));
|
||||
|
||||
registerForContextMenu(binding.messagesView);
|
||||
registerForContextMenu(binding.textSendButton);
|
||||
|
||||
|
@ -2252,7 +2256,7 @@ public class ConversationFragment extends XmppFragment
|
|||
Glide.with(activity).clear(binding.imageReplyPreview);
|
||||
binding.imageReplyPreview.setVisibility(GONE);
|
||||
}
|
||||
messageListAdapter.handleTextQuotes(body, activity.isDarkTheme());
|
||||
messageListAdapter.handleTextQuotes(binding.contextPreviewText, body, activity.isDarkTheme());
|
||||
binding.contextPreviewText.setText(body);
|
||||
binding.contextPreview.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue