Throw exceptions if some of the deprecated source methods are used

This commit is contained in:
arkon
2021-11-28 15:27:21 -05:00
parent 60e73e2d1f
commit be4f27028c
3 changed files with 17 additions and 7 deletions

View File

@@ -222,7 +222,7 @@ open class GlobalSearchPresenter(
Observable.from(first)
.filter { it.thumbnail_url == null && !it.initialized }
.map { Pair(it, source) }
.concatMap { runAsObservable({ getMangaDetails(it.first, it.second) }) }
.concatMap { runAsObservable { getMangaDetails(it.first, it.second) } }
.map { Pair(source as CatalogueSource, it) }
}
.onBackpressureBuffer()