mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 11:01:23 +01:00
Swap swipe left and right
This commit is contained in:
@@ -304,16 +304,16 @@ public class FragmentMessages extends FragmentBase {
|
||||
activity.setSwipeListener(new SwipeListener.ISwipeListener() {
|
||||
@Override
|
||||
public boolean onSwipeRight() {
|
||||
if (previous != null)
|
||||
navigate(previous);
|
||||
return (previous != null);
|
||||
if (next != null)
|
||||
navigate(next);
|
||||
return (next != null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onSwipeLeft() {
|
||||
if (next != null)
|
||||
navigate(next);
|
||||
return (next != null);
|
||||
if (previous != null)
|
||||
navigate(previous);
|
||||
return (previous != null);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user