Minor cleanup to updating download status in Updates
(cherry picked from commit f608cb55ebc3a1ecaf26258113489b6ca91a3503)
This commit is contained in:
parent
329d24c7db
commit
3343b766a2
@ -242,8 +242,7 @@ class UpdatesController :
|
|||||||
adapter?.currentItems
|
adapter?.currentItems
|
||||||
?.filterIsInstance<UpdatesItem>()
|
?.filterIsInstance<UpdatesItem>()
|
||||||
?.find { it.chapter.id == download.chapter.id }?.let {
|
?.find { it.chapter.id == download.chapter.id }?.let {
|
||||||
adapter?.updateItem(it)
|
adapter?.updateItem(it, it.status)
|
||||||
adapter?.notifyDataSetChanged()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user