fix: Remove any mention of MangaJson outside CustomMangaManager

This commit is contained in:
Ahmad Ansori Palembani 2024-05-29 12:55:35 +07:00
parent 2283c7d5a8
commit 017ebe2f26
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
4 changed files with 53 additions and 28 deletions

View file

@ -246,7 +246,7 @@ class LocalSource(private val context: Context) : CatalogueSource, UnmeteredSour
lang?.let { langMap[manga.url] = it }
val file = directory.createFile(COMIC_INFO_FILE)!!
file.writeText(xml.encodeToString(ComicInfo.serializer(), manga.toComicInfo(lang)))
file.writeText(xml.encodeToString(ComicInfo.serializer(), manga.toComicInfo(lang = lang)))
}
@Serializable