Skip to content

Commit

Permalink
Selector 配置优化描述
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Sep 25, 2024
1 parent 1dd07c3 commit 4210cc5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ internal fun SelectorSubjectConfigurationColumn(
isError = conf.selectListsIsError,
)
ListItem(
headlineContent = { Text("选择最短标题") },
headlineContent = { Text("优先选择最短标题") },
Modifier
.padding(top = (verticalSpacing - 8.dp).coerceAtLeast(0.dp))
.clickable { conf.preferShorterName = !conf.preferShorterName },
supportingContent = { Text("选择满足匹配的标题最短的条目。可避免为第一季匹配到第二季") },
supportingContent = { Text("优先选择满足匹配的标题最短的条目。可避免为第一季匹配到第二季") },
trailingContent = {
Switch(conf.preferShorterName, { conf.preferShorterName = it })
},
Expand Down Expand Up @@ -98,11 +98,11 @@ internal fun SelectorSubjectConfigurationColumn(
isError = conf.selectLinksIsError,
)
ListItem(
headlineContent = { Text("选择最短标题") },
headlineContent = { Text("优先选择最短标题") },
Modifier
.padding(top = (verticalSpacing - 8.dp).coerceAtLeast(0.dp))
.clickable { conf.preferShorterName = !conf.preferShorterName },
supportingContent = { Text("选择满足匹配的标题最短的条目。可避免为第一季匹配到第二季") },
supportingContent = { Text("优先选择满足匹配的标题最短的条目。可避免为第一季匹配到第二季") },
trailingContent = {
Switch(conf.preferShorterName, { conf.preferShorterName = it })
},
Expand Down

0 comments on commit 4210cc5

Please sign in to comment.