Commit 982a43fc authored by Viktor De Pasquale's avatar Viktor De Pasquale Committed by John Wu

Moved diff computation of policy list to the background thread

parent dd76a74e
......@@ -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()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment