Xkcd - fix refresh/restore details (#3472)
This commit is contained in:
parent
df1fee08c2
commit
59bb99ed49
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: xkcd'
|
appName = 'Tachiyomi: xkcd'
|
||||||
pkgNameSuffix = 'en.xkcd'
|
pkgNameSuffix = 'en.xkcd'
|
||||||
extClass = '.Xkcd'
|
extClass = '.Xkcd'
|
||||||
extVersionCode = 6
|
extVersionCode = 7
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,8 @@ class Xkcd : ParsedHttpSource() {
|
||||||
|
|
||||||
override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> = Observable.empty()
|
override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> = Observable.empty()
|
||||||
|
|
||||||
override fun fetchMangaDetails(manga: SManga): Observable<SManga> = Observable.just(manga)
|
override fun fetchMangaDetails(manga: SManga): Observable<SManga> = fetchPopularManga(1)
|
||||||
|
.map { it.mangas.first().apply { initialized = true } }
|
||||||
|
|
||||||
override fun chapterListSelector() = "div#middleContainer.box a"
|
override fun chapterListSelector() = "div#middleContainer.box a"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue