Update implementation to use new methods

This commit is contained in:
topjohnwu
2020-07-12 14:35:21 -07:00
parent 45fabf8e03
commit 7cf3da1b3b
3 changed files with 18 additions and 45 deletions
@@ -15,7 +15,6 @@ import com.topjohnwu.magisk.data.database.RepoByUpdatedDao
import com.topjohnwu.magisk.databinding.ComparableRvItem
import com.topjohnwu.magisk.ktx.addOnListChangedCallback
import com.topjohnwu.magisk.ktx.reboot
import com.topjohnwu.magisk.ktx.value
import com.topjohnwu.magisk.model.entity.internal.DownloadSubject
import com.topjohnwu.magisk.model.entity.recycler.*
import com.topjohnwu.magisk.model.events.InstallExternalModuleEvent
@@ -276,7 +275,7 @@ class ModuleViewModel(
itemsRemote.filter(predicate) +
itemsSearch.filter(predicate)
}
items.forEach { it.progress.value = progress }
items.forEach { it.progress = progress }
}
// ---