mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-15 19:22:26 +08:00
This commit is contained in:
parent
77f008dd42
commit
76b3049b36
|
@ -345,14 +345,9 @@ fun GlobalRuleExcludePage(subsItemId: Long, groupKey: Int) {
|
|||
}
|
||||
item {
|
||||
Spacer(modifier = Modifier.height(EmptyHeight))
|
||||
if (showAppInfos.isEmpty()) {
|
||||
Column(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
horizontalAlignment = Alignment.CenterHorizontally,
|
||||
) {
|
||||
EmptyText(text = "暂无搜索结果")
|
||||
Spacer(modifier = Modifier.height(EmptyHeight))
|
||||
}
|
||||
if (showAppInfos.isEmpty() && searchStr.isNotEmpty()) {
|
||||
val hasShowAll = showSystemApp && showHiddenApp
|
||||
EmptyText(text = if (hasShowAll) "暂无搜索结果" else "暂无搜索结果,请尝试修改筛选条件")
|
||||
}
|
||||
QueryPkgAuthCard()
|
||||
}
|
||||
|
|
|
@ -284,9 +284,11 @@ fun SubsPage(
|
|||
item {
|
||||
Spacer(modifier = Modifier.height(EmptyHeight))
|
||||
if (appAndConfigs.isEmpty()) {
|
||||
EmptyText(
|
||||
text = if (searchStr.isNotEmpty()) "暂无搜索结果" else "暂无规则",
|
||||
)
|
||||
EmptyText(text = if (searchStr.isNotEmpty()) {
|
||||
if (showUninstallApp) "暂无搜索结果" else "暂无搜索结果,请尝试修改筛选条件"
|
||||
} else {
|
||||
"暂无规则"
|
||||
})
|
||||
} else if (editable) {
|
||||
Spacer(modifier = Modifier.height(EmptyHeight))
|
||||
}
|
||||
|
|
|
@ -366,7 +366,8 @@ fun useAppListPage(): ScaffoldExt {
|
|||
item {
|
||||
Spacer(modifier = Modifier.height(EmptyHeight))
|
||||
if (orderedAppInfos.isEmpty() && searchStr.isNotEmpty()) {
|
||||
EmptyText(text = "暂无搜索结果")
|
||||
val hasShowAll = showSystemApp && showHiddenApp
|
||||
EmptyText(text = if (hasShowAll) "暂无搜索结果" else "暂无搜索结果,请尝试修改筛选条件")
|
||||
}
|
||||
QueryPkgAuthCard()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user