mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 18:20:50 +01:00
Fix memory leak
This commit is contained in:
parent
5914346ace
commit
097d4fe34c
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class SettingsDownloadController : SettingsController() {
|
|||
.subscribeUntilDestroy { isVisible = it }
|
||||
|
||||
preferences.downloadNewCategories().asObservable()
|
||||
.subscribe {
|
||||
.subscribeUntilDestroy {
|
||||
val selectedCategories = it
|
||||
.mapNotNull { id -> dbCategories.find { it.id == id.toInt() } }
|
||||
.sortedBy { it.order }
|
||||
|
|
Loading…
Reference in a new issue