From e3b870a1db1b0bda0a2069ac9657eff9fa927cda Mon Sep 17 00:00:00 2001 From: Mike <51273546+SnakeDoc83@users.noreply.github.com> Date: Sun, 29 Mar 2020 07:41:11 -0400 Subject: [PATCH] Oglaf - change empty observable (#2536) * Oglaf - change empty observable * gradle --- src/en/oglaf/build.gradle | 2 +- .../oglaf/src/eu/kanade/tachiyomi/extension/en/oglaf/Oglaf.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/en/oglaf/build.gradle b/src/en/oglaf/build.gradle index 792b3b8e4..d6f616aeb 100644 --- a/src/en/oglaf/build.gradle +++ b/src/en/oglaf/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Oglaf' pkgNameSuffix = 'en.oglaf' extClass = '.Oglaf' - extVersionCode = 1 + extVersionCode = 2 libVersion = '1.2' } diff --git a/src/en/oglaf/src/eu/kanade/tachiyomi/extension/en/oglaf/Oglaf.kt b/src/en/oglaf/src/eu/kanade/tachiyomi/extension/en/oglaf/Oglaf.kt index de96bafd5..61849fb43 100644 --- a/src/en/oglaf/src/eu/kanade/tachiyomi/extension/en/oglaf/Oglaf.kt +++ b/src/en/oglaf/src/eu/kanade/tachiyomi/extension/en/oglaf/Oglaf.kt @@ -33,9 +33,9 @@ class Oglaf : ParsedHttpSource() { return Observable.just(MangasPage(arrayListOf(manga), false)) } - override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable = Observable.empty() + override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable = Observable.just(MangasPage(emptyList(), false)) - override fun fetchMangaDetails(manga: SManga) = Observable.just(manga) + override fun fetchMangaDetails(manga: SManga): Observable = Observable.just(manga) override fun chapterListParse(response: Response): List { val chapterList = super.chapterListParse(response).distinct()