mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
Swap swipes based on people with real devices pointing out that I got em backwards.
This commit is contained in:
parent
a7a46ac6fa
commit
8a6180fa21
@ -1498,9 +1498,9 @@ public class MessageView extends K9Activity
|
||||
return false;
|
||||
// right to left swipe
|
||||
if(e1.getX() - e2.getX() > min_distance && Math.abs(velocityX) > min_velocity ) {
|
||||
onPrevious();
|
||||
} else if (e2.getX() - e1.getX() > min_distance && Math.abs(velocityX) > min_velocity) {
|
||||
onNext();
|
||||
} else if (e2.getX() - e1.getX() > min_distance && Math.abs(velocityX) > min_velocity) {
|
||||
onPrevious();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
// nothing
|
||||
|
Loading…
Reference in New Issue
Block a user