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
?.filterIsInstance<UpdatesItem>()
?.find { it.chapter.id == download.chapter.id }?.let {
adapter?.updateItem(it)
adapter?.notifyDataSetChanged()
adapter?.updateItem(it, it.status)
}
}