Oglaf - change empty observable (#2536)
* Oglaf - change empty observable * gradle
This commit is contained in:
parent
778c63a412
commit
e3b870a1db
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: Oglaf'
|
appName = 'Tachiyomi: Oglaf'
|
||||||
pkgNameSuffix = 'en.oglaf'
|
pkgNameSuffix = 'en.oglaf'
|
||||||
extClass = '.Oglaf'
|
extClass = '.Oglaf'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,9 +33,9 @@ class Oglaf : 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<MangasPage> = Observable.empty()
|
override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> = Observable.just(MangasPage(emptyList(), false))
|
||||||
|
|
||||||
override fun fetchMangaDetails(manga: SManga) = Observable.just(manga)
|
override fun fetchMangaDetails(manga: SManga): Observable<SManga> = Observable.just(manga)
|
||||||
|
|
||||||
override fun chapterListParse(response: Response): List<SChapter> {
|
override fun chapterListParse(response: Response): List<SChapter> {
|
||||||
val chapterList = super.chapterListParse(response).distinct()
|
val chapterList = super.chapterListParse(response).distinct()
|
||||||
|
|
Loading…
Reference in New Issue