1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-15 19:27:31 +00:00
This commit is contained in:
Austin Huang 2021-06-04 14:45:28 -04:00
parent 86ce7e5f05
commit aad93a9662
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

@ -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);