diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/download/DownloadFragment.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/download/DownloadFragment.kt index 94e2531a..767e4906 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/download/DownloadFragment.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/download/DownloadFragment.kt @@ -434,7 +434,7 @@ class SwipeToDeleteCallback(private val adapter: DownloadHeaderAdapter) : ItemTo val backgroundTop = swipeItemView.top val backgroundBottom = swipeItemView.bottom - if (x in backgroundLeft..backgroundRight && y in backgroundTop .. backgroundBottom) { + if (x in backgroundLeft..backgroundRight && y in backgroundTop..backgroundBottom) { handleDelete(pos) handled = true }