We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e86159 commit a32199bCopy full SHA for a32199b
app/src/main/kotlin/li/songe/gkd/data/AppInfo.kt
@@ -36,8 +36,6 @@ data class AppInfo(
36
result = 31 * result + userId
37
return result
38
}
39
-
40
- val visible get() = !(hidden && isSystem)
41
42
43
val selfAppInfo by lazy {
app/src/main/kotlin/li/songe/gkd/util/AppInfoState.kt
@@ -55,7 +55,7 @@ val systemAppsFlow by lazy { systemAppInfoCacheFlow.mapState(appScope) { c -> c.
55
56
val visibleAppInfosFlow by lazy {
57
appInfoMapFlow.mapState(appScope) { c ->
58
- c.values.filter { it.visible }.sortedWith { a, b ->
+ c.values.filterNot { it.hidden }.sortedWith { a, b ->
59
collator.compare(a.name, b.name)
60
61
0 commit comments