Explorar o código

Minor cleanup to updating download status in Updates

arkon %!s(int64=4) %!d(string=hai) anos
pai
achega
f608cb55eb

+ 1 - 2
app/src/main/java/eu/kanade/tachiyomi/ui/recent/updates/UpdatesController.kt

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