Xkcd - fix refresh/restore details (#3472)

This commit is contained in:
Mike 2020-06-10 01:27:04 -04:00 committed by GitHub
parent df1fee08c2
commit 59bb99ed49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: xkcd'
pkgNameSuffix = 'en.xkcd'
extClass = '.Xkcd'
extVersionCode = 6
extVersionCode = 7
libVersion = '1.2'
}

View File

@ -39,7 +39,8 @@ class Xkcd : ParsedHttpSource() {
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"