Remove some usages of global scope

This commit is contained in:
arkon
2022-08-29 15:15:18 -04:00
parent 43c195e14a
commit 8efb20439a
5 changed files with 5 additions and 7 deletions
@@ -920,7 +920,7 @@ class MangaPresenter(
fun trackingSearch(query: String, service: TrackService) {
searchTrackerJob?.cancel()
searchTrackerJob = launchIO {
searchTrackerJob = presenterScope.launchIO {
try {
val results = service.search(query)
withUIContext { view?.onTrackingSearchResults(results) }