mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 09:07:50 +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()) }
|
||||
.toList()
|
||||
.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) }
|
||||
.flatMap { queryRaw() }
|
||||
.applyViewModel(this)
|
||||
|
Loading…
x
Reference in New Issue
Block a user