mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-15 05:27:28 +01:00
Allow to change chapter fields before inserting to database. Update Kotlin to 1.0.5
This commit is contained in:
@@ -36,7 +36,7 @@ fun syncChaptersWithSource(db: DatabaseHelper,
|
||||
// Recognize number for new chapters.
|
||||
toAdd.forEach {
|
||||
if (source is OnlineSource) {
|
||||
source.parseChapterNumber(it)
|
||||
source.prepareNewChapter(it, manga)
|
||||
}
|
||||
ChapterRecognition.parseChapterNumber(it, manga)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user