mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
enhance(LocalSource): Allow ComicInfo to also set chapter scanlator
This commit is contained in:
parent
23401d33ed
commit
8b3d35bc2a
2 changed files with 2 additions and 1 deletions
|
@ -94,6 +94,7 @@ class LocalSource(private val context: Context) : CatalogueSource, UnmeteredSour
|
|||
comicInfo.number?.value?.toFloatOrNull()?.let {
|
||||
chapter.chapter_number = it
|
||||
} ?: ChapterRecognition.parseChapterNumber(chapter, manga)
|
||||
comicInfo.translator?.let { chapter.scanlator = it.value }
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue