Fix condition for adding swipe movement

This commit is contained in:
Ensar Sarajčić 2023-08-23 13:08:13 +02:00
parent 59975c77f4
commit 6c8800f266
1 changed files with 1 additions and 1 deletions

View File

@ -973,7 +973,7 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Rel
fun setSwipeMovement(diffX: Float) { fun setSwipeMovement(diffX: Float) {
if (draggedItem != null) { if (draggedItem == null) {
pager.setSwipeMovement(diffX) pager.setSwipeMovement(diffX)
} }
} }