mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 02:37:16 +00:00
Prevent clicks when selecting messages
This commit is contained in:
parent
26eee7fd76
commit
6b09b5e5f7
1 changed files with 3 additions and 3 deletions
|
@ -2337,11 +2337,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
final TupleMessageEx message = getMessage();
|
||||
if (message == null)
|
||||
if (selectionTracker != null && selectionTracker.hasSelection())
|
||||
return;
|
||||
|
||||
if (selectionTracker != null && selectionTracker.isSelected(message.id))
|
||||
final TupleMessageEx message = getMessage();
|
||||
if (message == null)
|
||||
return;
|
||||
|
||||
if (view.getId() == R.id.ibAvatar)
|
||||
|
|
Loading…
Reference in a new issue