mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-15 19:27:31 +00:00
close #1386
This commit is contained in:
parent
86ce7e5f05
commit
aad93a9662
@ -37,7 +37,7 @@ public class RecipientThreadViewHolder extends RecyclerView.ViewHolder {
|
|||||||
final DirectThread thread,
|
final DirectThread thread,
|
||||||
final boolean showSelection,
|
final boolean showSelection,
|
||||||
final boolean isSelected) {
|
final boolean isSelected) {
|
||||||
if (thread == null) return;
|
if (thread == null || thread.getUsers().size() == 0) return;
|
||||||
binding.getRoot().setOnClickListener(v -> {
|
binding.getRoot().setOnClickListener(v -> {
|
||||||
if (onThreadClickListener == null) return;
|
if (onThreadClickListener == null) return;
|
||||||
onThreadClickListener.onClick(position, RankedRecipient.of(thread), isSelected);
|
onThreadClickListener.onClick(position, RankedRecipient.of(thread), isSelected);
|
||||||
|
Loading…
Reference in New Issue
Block a user