mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-06 12:54:11 +01:00
Disable swipe when multiple selecting
This commit is contained in:
@@ -282,6 +282,9 @@ public class FragmentMessages extends FragmentEx {
|
|||||||
if (!prefs.getBoolean("swipe", true))
|
if (!prefs.getBoolean("swipe", true))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
if (selectionTracker != null && selectionTracker.hasSelection())
|
||||||
|
return 0;
|
||||||
|
|
||||||
int pos = viewHolder.getAdapterPosition();
|
int pos = viewHolder.getAdapterPosition();
|
||||||
if (pos == RecyclerView.NO_POSITION)
|
if (pos == RecyclerView.NO_POSITION)
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user