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:
parent
9ea5917208
commit
8d9bc81d2c
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue