Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Fix bug with update lib and parse chapters (#1927)

* Fix bug with update lib and parse chapters

* Fix else condition
Cette révision appartient à :
Pavka 2019-03-25 16:53:17 +03:00 révisé par inorichi
Parent 08cdac968d
révision dbe8f3cfbe

Voir le fichier

@ -51,7 +51,12 @@ fun syncChaptersWithSource(db: DatabaseHelper,
toAdd.add(sourceChapter)
} else {
//this forces metadata update for the main viewable things in the chapter list
if (source is HttpSource) {
source.prepareNewChapter(sourceChapter, manga)
}
ChapterRecognition.parseChapterNumber(sourceChapter, manga)
if (shouldUpdateDbChapter(dbChapter, sourceChapter)) {
dbChapter.scanlator = sourceChapter.scanlator
dbChapter.name = sourceChapter.name