Fix returning after partial swipe

This commit is contained in:
Ensar Sarajčić 2023-08-23 11:32:15 +02:00
parent 95cf8c0384
commit d4f55b8e8b
1 changed files with 1 additions and 0 deletions

View File

@ -1176,6 +1176,7 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Rel
} else { } else {
currentPage + 1 currentPage + 1
} }
pageChangeSwipedPercentage = sign(pageChangeSwipedPercentage) * (1 - abs(pageChangeSwipedPercentage))
handlePageChange(true) handlePageChange(true)
} }
} }