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
|
@ -10,7 +10,7 @@
|
|||
## Additions
|
||||
- Added a couple new tags to set entry as SFW (`sfw` and `non-erotic`)
|
||||
- Downloaded chapters now include ComicInfo file
|
||||
- Entries' chapters info can be edited using ComicInfo (currently only support chapter number and chapter title)
|
||||
- Entry chapters' info can be edited using ComicInfo
|
||||
|
||||
## Fixes
|
||||
- Fixed smart background colour by page failing causing the image to not load
|
||||
|
|
|
@ -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