mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-31 04:58:50 +00:00
Fixed loading showing in incorrect view-states
This commit is contained in:
@@ -122,9 +122,8 @@ class ModuleViewModel(
|
||||
moveToState()
|
||||
}
|
||||
|
||||
fun loadRemoteImplicit() = downloadRepos()
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.doOnComplete { items.clear(); itemsSearch.clear() }
|
||||
fun loadRemoteImplicit() = let { items.clear(); itemsSearch.clear() }
|
||||
.run { downloadRepos() }
|
||||
.applyViewModel(this, false)
|
||||
.subscribeK { refresh(); submitQuery() }
|
||||
.add()
|
||||
|
||||
Reference in New Issue
Block a user