xkcd: implemented search to return empty (#225)

This commit is contained in:
Carlos 2018-02-28 05:55:03 -05:00 committed by GitHub
parent d579de4780
commit c6b8181527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: xkcd' appName = 'Tachiyomi: xkcd'
pkgNameSuffix = "en.xkcd" pkgNameSuffix = "en.xkcd"
extClass = '.Xkcd' extClass = '.Xkcd'
extVersionCode = 2 extVersionCode = 3
extVersionSuffix = 2 extVersionSuffix = 3
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -37,6 +37,8 @@ class Xkcd : ParsedHttpSource() {
return Observable.just(MangasPage(arrayListOf(manga), false)) return Observable.just(MangasPage(arrayListOf(manga), false))
} }
override fun fetchSearchManga(page: Int, query: String, filters: FilterList) = Observable.just(MangasPage(arrayListOf(), false))
override fun fetchMangaDetails(manga: SManga): Observable<SManga> { override fun fetchMangaDetails(manga: SManga): Observable<SManga> {
return Observable.just(manga) return Observable.just(manga)
} }