You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Allow ViewModel to opt-out RxJava
Transition period
This commit is contained in:
@@ -50,7 +50,7 @@ class HideViewModel(
|
||||
|
||||
val isFilterExpanded = KObservableField(false)
|
||||
|
||||
override fun refresh() = magiskRepo.fetchApps()
|
||||
override fun rxRefresh() = magiskRepo.fetchApps()
|
||||
.map { it to magiskRepo.fetchHideTargets().blockingGet() }
|
||||
.map { pair -> pair.first.map { mergeAppTargets(it, pair.second) } }
|
||||
.flattenAsFlowable { it }
|
||||
|
||||
Reference in New Issue
Block a user