mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-01 23:54:55 -05:00
minor refactor
This commit is contained in:
parent
04091f59e4
commit
8a14f27eb4
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ actual class LocalSource(
|
||||||
artist = dbManga[url]?.artist
|
artist = dbManga[url]?.artist
|
||||||
description = dbManga[url]?.description
|
description = dbManga[url]?.description
|
||||||
genre = dbManga[url]?.genre?.joinToString(", ") { it.trim() }
|
genre = dbManga[url]?.genre?.joinToString(", ") { it.trim() }
|
||||||
status = dbManga[url]?.status?.toInt() ?: ComicInfoPublishingStatus.toSMangaValue("Unknown")
|
status = dbManga[url]?.status?.toInt() ?: SManga.UNKNOWN
|
||||||
|
|
||||||
// Try to find the cover
|
// Try to find the cover
|
||||||
coverManager.find(mangaDir.name.orEmpty())?.let {
|
coverManager.find(mangaDir.name.orEmpty())?.let {
|
||||||
|
|
Loading…
Reference in a new issue