mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-10-29 21:53:43 +00:00
fix(ui): 规则过滤项启用筛选去掉「状态」措辞避免与状态列撞名
This commit is contained in:
@@ -607,13 +607,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"全部状态": {
|
||||
"全部": {
|
||||
"extractionState": "manual",
|
||||
"localizations": {
|
||||
"en": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "All states"
|
||||
"value": "All"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,12 +118,12 @@ struct RulesView: View {
|
||||
Text(RulesCopy.text("代理")).tag(Optional(RuleAction.proxy))
|
||||
}.labelsHidden().fixedSize()
|
||||
Picker(
|
||||
RulesCopy.text("状态"),
|
||||
RulesCopy.text("启用"),
|
||||
selection: Binding(
|
||||
get: { workflow.snapshot.query.enabled },
|
||||
set: { value in updateQuery { $0.enabled = value } })
|
||||
) {
|
||||
Text(RulesCopy.text("全部状态")).tag(Optional<Bool>.none)
|
||||
Text(RulesCopy.text("全部")).tag(Optional<Bool>.none)
|
||||
Text(RulesCopy.text("已启用")).tag(Optional(true))
|
||||
Text(RulesCopy.text("已禁用")).tag(Optional(false))
|
||||
}.labelsHidden().fixedSize()
|
||||
|
||||
Reference in New Issue
Block a user