diff options
author | Tony Tam <149837+tonytamsf@users.noreply.github.com> | 2021-11-14 04:35:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-14 13:35:54 +0100 |
commit | 906341a2297a75b9bee658e9e67413734808b05c (patch) | |
tree | c76cc685f6731270a0d88e938d42a1a18095bd22 /app | |
parent | e41f62548850fb9d2f208eb0c12f6064f11840c8 (diff) | |
download | AntennaPod-906341a2297a75b9bee658e9e67413734808b05c.zip |
Make it slightly harder to swipe episodes (#5135)
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/swipeactions/SwipeActions.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/swipeactions/SwipeActions.java b/app/src/main/java/de/danoeh/antennapod/fragment/swipeactions/SwipeActions.java index 50c7c1ae5..adf133856 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/swipeactions/SwipeActions.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/swipeactions/SwipeActions.java @@ -201,12 +201,12 @@ public class SwipeActions extends ItemTouchHelper.SimpleCallback implements Life @Override public float getSwipeEscapeVelocity(float defaultValue) { - return swipeOutEnabled ? defaultValue : Float.MAX_VALUE; + return swipeOutEnabled ? defaultValue * 1.5f : Float.MAX_VALUE; } @Override public float getSwipeVelocityThreshold(float defaultValue) { - return swipeOutEnabled ? defaultValue : 0; + return swipeOutEnabled ? defaultValue * 0.6f : 0; } @Override |