Moved diff computation of policy list to the background thread
This commit is contained in:
parent
dd76a74e1c
commit
982a43fce1
@ -61,9 +61,10 @@ class SuperuserViewModel(
|
||||
{ it.item.packageName }
|
||||
))
|
||||
}
|
||||
.map { it to items.calculateDiff(it) }
|
||||
.applySchedulers()
|
||||
.applyViewModel(this)
|
||||
.subscribeK { items.update(it) }
|
||||
.subscribeK { items.update(it.first, it.second) }
|
||||
.add()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user