3
3
Fork 1
mirror of https://github.com/recloudstream/cloudstream.git synced 2024-08-15 01:53:11 +00:00

Fix duplicate callback invocation

This commit is contained in:
Luna712 2024-07-09 22:10:14 -06:00 committed by GitHub
parent 2e0aa3c64c
commit 6c3926bef3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,7 +102,6 @@ class DownloadAdapter(
setOnLongClickListener {
toggleIsChecked(deleteCheckbox, card)
onItemSelectionChanged.invoke(card, selectedIds[data.id] ?: false)
true
}
}
@ -121,7 +120,6 @@ class DownloadAdapter(
setOnLongClickListener {
toggleIsChecked(deleteCheckbox, card)
onItemSelectionChanged.invoke(card, selectedIds[data.id] ?: false)
true
}
}
@ -272,7 +270,6 @@ class DownloadAdapter(
setOnLongClickListener {
toggleIsChecked(deleteCheckbox, card)
onItemSelectionChanged.invoke(card, selectedIds[data.id] ?: false)
true
}
}