Ignore clicks when selected

This commit is contained in:
M66B 2020-01-06 09:15:56 +01:00
parent 75f6d118a2
commit 8b4e6e7057
1 changed files with 3 additions and 0 deletions

View File

@ -2068,6 +2068,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (message == null) if (message == null)
return; return;
if (selectionTracker != null && selectionTracker.isSelected(message.id))
return;
if (view.getId() == R.id.ibAvatar) if (view.getId() == R.id.ibAvatar)
onViewContact(message); onViewContact(message);
else if (view.getId() == R.id.ibAuth) else if (view.getId() == R.id.ibAuth)