Fixed searching titles on tracking services

This commit is contained in:
Jay 2020-05-07 18:13:21 -04:00
parent e94e405b80
commit 4818fe1d0c

View File

@ -788,7 +788,7 @@ class MangaDetailsPresenter(
} }
fun trackSearch(query: String, service: TrackService) { fun trackSearch(query: String, service: TrackService) {
if (controller.isNotOnline()) { if (!controller.isNotOnline()) {
scope.launch(Dispatchers.IO) { scope.launch(Dispatchers.IO) {
val results = try { val results = try {
service.search(query) service.search(query)