minor refactor

This commit is contained in:
Shamicen 2024-03-24 08:19:13 +01:00
parent 04091f59e4
commit 8a14f27eb4

View file

@ -148,7 +148,7 @@ actual class LocalSource(
artist = dbManga[url]?.artist
description = dbManga[url]?.description
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
coverManager.find(mangaDir.name.orEmpty())?.let {