diff --git a/src/en/xkcd/build.gradle b/src/en/xkcd/build.gradle index a8864177e..f9ab1828e 100644 --- a/src/en/xkcd/build.gradle +++ b/src/en/xkcd/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: xkcd' pkgNameSuffix = 'en.xkcd' extClass = '.Xkcd' - extVersionCode = 6 + extVersionCode = 7 libVersion = '1.2' } diff --git a/src/en/xkcd/src/eu/kanade/tachiyomi/extension/en/xkcd/Xkcd.kt b/src/en/xkcd/src/eu/kanade/tachiyomi/extension/en/xkcd/Xkcd.kt index 87cfbfd3f..6d6717e8a 100644 --- a/src/en/xkcd/src/eu/kanade/tachiyomi/extension/en/xkcd/Xkcd.kt +++ b/src/en/xkcd/src/eu/kanade/tachiyomi/extension/en/xkcd/Xkcd.kt @@ -39,7 +39,8 @@ class Xkcd : ParsedHttpSource() { override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable = Observable.empty() - override fun fetchMangaDetails(manga: SManga): Observable = Observable.just(manga) + override fun fetchMangaDetails(manga: SManga): Observable = fetchPopularManga(1) + .map { it.mangas.first().apply { initialized = true } } override fun chapterListSelector() = "div#middleContainer.box a"