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…
Reference in New Issue
Block a user