mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 08:37:39 +00:00
Sort hide targets by app name
This commit is contained in:
parent
a5f5e94115
commit
d5371f752c
@ -74,7 +74,7 @@ class HideViewModel(
|
|||||||
.map { HideRvItem(it, hideTargets.blockingGet()) }
|
.map { HideRvItem(it, hideTargets.blockingGet()) }
|
||||||
.toList()
|
.toList()
|
||||||
.map { it.sortWith(compareBy(
|
.map { it.sortWith(compareBy(
|
||||||
{it.isHiddenState.value}, {it.item.info.name}, {it.packageName})); it }
|
{it.isHiddenState.value}, {it.item.name}, {it.packageName})); it }
|
||||||
.doOnSuccess { allItems.update(it) }
|
.doOnSuccess { allItems.update(it) }
|
||||||
.flatMap { queryRaw() }
|
.flatMap { queryRaw() }
|
||||||
.applyViewModel(this)
|
.applyViewModel(this)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user