1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 21:24:34 +00:00

Attempt to workaround swipe/long press Android bug

This commit is contained in:
M66B 2024-11-29 08:33:58 +01:00
parent 9ea5917208
commit 8d9bc81d2c

View file

@ -1197,6 +1197,8 @@ public class FragmentMessages extends FragmentBase
public void onLongPress(@NonNull MotionEvent e) {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
return;
if (swiping)
return;
int x = Math.round(e.getX());
int y = Math.round(e.getY());