You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Improve Rx pipeline
This commit is contained in:
@@ -63,9 +63,7 @@ class ModuleViewModel(
|
||||
.toList()
|
||||
.map { it to itemsInstalled.calculateDiff(it) }
|
||||
.doOnSuccessUi { itemsInstalled.update(it.first, it.second) }
|
||||
.toFlowable()
|
||||
.flatMap { repoUpdater(force) }
|
||||
.collect({}, {_, _ -> })
|
||||
.flattenAsFlowable { repoDB.repos }
|
||||
.map { RepoRvItem(it) }
|
||||
.toList()
|
||||
|
||||
Reference in New Issue
Block a user