Fix bug with update lib and parse chapters (#1927)
* Fix bug with update lib and parse chapters * Fix else condition
Cette révision appartient à :
Parent
08cdac968d
révision
dbe8f3cfbe
1 fichiers modifiés avec 5 ajouts et 0 suppressions
|
@ -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
|
||||
|
|
Référencer dans un nouveau ticket