Lint fix
This commit is contained in:
parent
7f02a533fa
commit
46dccf8a2d
@ -282,9 +282,9 @@ class LibraryUpdateService(
|
||||
.filter { pair -> pair.first.isNotEmpty() }
|
||||
.doOnNext {
|
||||
if (downloadNew && (
|
||||
categoriesToDownload.isEmpty() ||
|
||||
manga.category in categoriesToDownload
|
||||
)
|
||||
categoriesToDownload.isEmpty() ||
|
||||
manga.category in categoriesToDownload
|
||||
)
|
||||
) {
|
||||
downloadChapters(manga, it.first)
|
||||
hasDownloads = true
|
||||
@ -322,7 +322,6 @@ class LibraryUpdateService(
|
||||
.map { manga -> manga.first }
|
||||
}
|
||||
|
||||
|
||||
private fun downloadChapters(manga: Manga, chapters: List<Chapter>) {
|
||||
// we need to get the chapters from the db so we have chapter ids
|
||||
val mangaChapters = db.getChapters(manga).executeAsBlocking()
|
||||
|
Loading…
x
Reference in New Issue
Block a user