Swap swipe left and right

This commit is contained in:
M66B
2019-01-30 19:46:41 +00:00
parent afa16f2f9a
commit 291520772f

View File

@@ -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);
}
});