Small brackets change, though I dont think logic will(though knowing my luck this might have been the reason)
This commit is contained in:
parent
29a07429df
commit
730c316e89
@ -303,14 +303,13 @@ class BackupManager(val context: Context, version: Int = CURRENT_VERSION) {
|
||||
} else {
|
||||
source.fetchChapterList(manga)
|
||||
}
|
||||
.map { syncChaptersWithSource(databaseHelper, it, manga, source) }
|
||||
.doOnNext { pair ->
|
||||
if (pair.first.isNotEmpty()) {
|
||||
chapters.forEach { it.manga_id = manga.id }
|
||||
insertChapters(chapters)
|
||||
}
|
||||
).map { syncChaptersWithSource(databaseHelper, it, manga, source) }
|
||||
.doOnNext { pair ->
|
||||
if (pair.first.isNotEmpty()) {
|
||||
chapters.forEach { it.manga_id = manga.id }
|
||||
insertChapters(chapters)
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user