disable click in reactions pills in multi-select mode

This commit is contained in:
adbenitez
2023-09-30 15:54:29 +02:00
parent 04a42469c2
commit a86ba375dc
@@ -680,9 +680,11 @@ public class ConversationItem extends BaseConversationItem
reactionsView.clear();
} else {
reactionsView.setReactions(reactions.getReactions());
reactionsView.setOnClickListener(v -> {
if (eventListener != null) {
reactionsView.setOnClickListener(view -> {
if (eventListener != null && batchSelected.isEmpty()) {
eventListener.onReactionClicked(current);
} else {
passthroughClickListener.onClick(view);
}
});
}