Minor fixes regarding leaks

(cherry picked from commit 36f81b4a62)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
This commit is contained in:
inorichi
2021-01-07 15:19:00 +01:00
committed by Jobobby04
parent 1b41546bc9
commit c8dd2190ba
30 changed files with 132 additions and 132 deletions
@@ -37,13 +37,13 @@ class BatchAddController : NucleusController<EhFragmentBatchAddBinding, BatchAdd
.onEach {
addGalleries(binding.galleriesBox.text.toString())
}
.launchIn(scope)
.launchIn(viewScope)
binding.progressDismissBtn.clicks()
.onEach {
presenter.currentlyAddingRelay.call(BatchAddPresenter.STATE_PROGRESS_TO_INPUT)
}
.launchIn(scope)
.launchIn(viewScope)
val progressSubscriptions = CompositeSubscription()
@@ -68,7 +68,7 @@ class SmartSearchController(bundle: Bundle? = null) : NucleusController<EhSmartS
}
}
}
.launchIn(scope + Dispatchers.IO)
.launchIn(viewScope + Dispatchers.IO)
}
companion object {