mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-06 04:41:23 -08:00
Properly force refresh
This commit is contained in:
@@ -94,7 +94,7 @@ class ModuleViewModel(
|
|||||||
.toList()
|
.toList()
|
||||||
.map { it to itemsInstalled.calculateDiff(it) }
|
.map { it to itemsInstalled.calculateDiff(it) }
|
||||||
.doOnSuccessUi { itemsInstalled.update(it.first, it.second) }
|
.doOnSuccessUi { itemsInstalled.update(it.first, it.second) }
|
||||||
.flatMap { repoUpdater.exec() }
|
.flatMap { repoUpdater.exec(force) }
|
||||||
.flatMap { Single.fromCallable { repoDatabase.repoCursor.toList { Repo(it) } } }
|
.flatMap { Single.fromCallable { repoDatabase.repoCursor.toList { Repo(it) } } }
|
||||||
.flattenAsFlowable { it }
|
.flattenAsFlowable { it }
|
||||||
.map { RepoRvItem(it) }
|
.map { RepoRvItem(it) }
|
||||||
|
|||||||
Reference in New Issue
Block a user