Fix getRelatedMangaList error message when source is not installed
This commit is contained in:
parent
da7f142352
commit
c0a3c7465c
1 changed files with 5 additions and 0 deletions
|
|
@ -21,6 +21,11 @@ class StubSource(
|
|||
override suspend fun getPageList(chapter: SChapter): List<Page> =
|
||||
throw SourceNotInstalledException()
|
||||
|
||||
// KMK -->
|
||||
override suspend fun getRelatedMangaList(manga: SManga): List<SManga> =
|
||||
throw SourceNotInstalledException()
|
||||
// KMK <--
|
||||
|
||||
override fun toString(): String =
|
||||
if (!isInvalid) "$name (${lang.uppercase()})" else id.toString()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue