From 8a14f27eb411187e3659538c5859a252e3c69473 Mon Sep 17 00:00:00 2001 From: Shamicen Date: Sun, 24 Mar 2024 08:19:13 +0100 Subject: [PATCH] minor refactor --- .../androidMain/kotlin/tachiyomi/source/local/LocalSource.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-local/src/androidMain/kotlin/tachiyomi/source/local/LocalSource.kt b/source-local/src/androidMain/kotlin/tachiyomi/source/local/LocalSource.kt index a1f7258b1..1bb9149f2 100644 --- a/source-local/src/androidMain/kotlin/tachiyomi/source/local/LocalSource.kt +++ b/source-local/src/androidMain/kotlin/tachiyomi/source/local/LocalSource.kt @@ -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 {