1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

Swap swipes based on people with real devices pointing out that I got em backwards.

This commit is contained in:
Jesse Vincent 2009-11-19 15:26:45 +00:00
parent a7a46ac6fa
commit 8a6180fa21

View File

@ -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