forked from mirror/monocles_chat_clean
Fix up reactions popup
This commit is contained in:
parent
34e50dbce5
commit
957269006e
1 changed files with 1 additions and 2 deletions
|
@ -1468,8 +1468,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
||||||
|| (c.getMucOptions().occupantId()
|
|| (c.getMucOptions().occupantId()
|
||||||
&& c.getMucOptions().participating()))) {
|
&& c.getMucOptions().participating()))) {
|
||||||
viewHolder.messageBox().setOnTouchListener((v, event) -> {
|
viewHolder.messageBox().setOnTouchListener((v, event) -> {
|
||||||
boolean isLink = LinkClickDetector.isLinkClicked(viewHolder.messageBody(), event);
|
if (event.getAction() == MotionEvent.ACTION_UP ) {
|
||||||
if (event.getAction() == MotionEvent.ACTION_UP && !isLink ) {
|
|
||||||
if (MessageAdapter.this.mOnMessageBoxClickedListener != null) {
|
if (MessageAdapter.this.mOnMessageBoxClickedListener != null) {
|
||||||
popup.setFocusable(false);
|
popup.setFocusable(false);
|
||||||
popup.onTouch(v, event);
|
popup.onTouch(v, event);
|
||||||
|
|
Loading…
Reference in a new issue