Make it slightly harder to swipe episodes (#5135)
This commit is contained in:
parent
e41f625488
commit
906341a229
|
@ -201,12 +201,12 @@ public class SwipeActions extends ItemTouchHelper.SimpleCallback implements Life
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getSwipeEscapeVelocity(float defaultValue) {
|
public float getSwipeEscapeVelocity(float defaultValue) {
|
||||||
return swipeOutEnabled ? defaultValue : Float.MAX_VALUE;
|
return swipeOutEnabled ? defaultValue * 1.5f : Float.MAX_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getSwipeVelocityThreshold(float defaultValue) {
|
public float getSwipeVelocityThreshold(float defaultValue) {
|
||||||
return swipeOutEnabled ? defaultValue : 0;
|
return swipeOutEnabled ? defaultValue * 0.6f : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue