1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Disable swipe when multiple selecting

This commit is contained in:
M66B 2018-10-24 18:16:29 +00:00
parent 3aca99c4d7
commit ae37365545

View file

@ -282,6 +282,9 @@ public class FragmentMessages extends FragmentEx {
if (!prefs.getBoolean("swipe", true))
return 0;
if (selectionTracker != null && selectionTracker.hasSelection())
return 0;
int pos = viewHolder.getAdapterPosition();
if (pos == RecyclerView.NO_POSITION)
return 0;