Allow to change chapter fields before inserting to database. Update Kotlin to 1.0.5

This commit is contained in:
len
2016-11-12 14:04:25 +01:00
parent d183aca810
commit f98095e6cb
5 changed files with 12 additions and 6 deletions

View File

@@ -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)
}