Make swiping out easier (#7232)

This commit is contained in:
ByteHamster 2024-06-09 20:48:22 +02:00 committed by GitHub
parent c51656f8e7
commit a3cd74d5ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ public class SwipeActions extends ItemTouchHelper.SimpleCallback implements Life
@Override
public float getSwipeThreshold(@NonNull RecyclerView.ViewHolder viewHolder) {
return swipeOutEnabled ? 0.6f : 1.0f;
return swipeOutEnabled ? super.getSwipeThreshold(viewHolder) : 1.0f;
}
@Override