Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Fix memory leak

Cette révision appartient à :
inorichi 2017-05-16 14:44:18 +02:00
Parent 5914346ace
révision 097d4fe34c

Voir le fichier

@ -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 }