mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Fix
This commit is contained in:
parent
3e62382d3e
commit
560873a384
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class DownloadChildFragment : Fragment() {
|
|||
downloadDeleteEventListener = { id: Int ->
|
||||
val adapter = binding?.downloadChildList?.adapter as? DownloadAdapter
|
||||
val list = adapter?.currentList
|
||||
if (list?.any { it.data.id == id }) {
|
||||
if (list?.any { it.data.id == id } == true) {
|
||||
adapter.removeItem(id)
|
||||
updateList(folder)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue