Minor cleanup to updating download status in Updates

This commit is contained in:
arkon 2021-04-25 11:01:12 -04:00
parent 6ba82da029
commit f608cb55eb

View File

@ -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()
} }
} }