Remove more unused StorIO code

This commit is contained in:
arkon
2022-07-02 13:08:08 -04:00
parent 05085fe57f
commit 2dfbfd0958
16 changed files with 8 additions and 347 deletions

View File

@@ -75,7 +75,7 @@ fun DomainManga.shouldDownloadNewChapters(db: DatabaseHelper, prefs: Preferences
// Get all categories, else default category (0)
val categoriesForManga =
db.getCategoriesForManga(toDbManga()).executeAsBlocking()
db.getCategoriesForManga(id).executeAsBlocking()
.mapNotNull { it.id }
.takeUnless { it.isEmpty() } ?: listOf(0)