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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue