mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-10-29 13:43:49 +00:00
style: emphasize system proxy action buttons
This commit is contained in:
@@ -128,17 +128,15 @@ private struct SystemProxyDifferenceView: View {
|
||||
}
|
||||
if facts.canRepair {
|
||||
Button("修复") { Task { await control.repairSystemProxy() } }
|
||||
.controlSize(.small)
|
||||
}
|
||||
if facts.canRetryClear {
|
||||
Button("重试清除") { Task { await control.retrySystemProxyClear() } }
|
||||
.controlSize(.small)
|
||||
}
|
||||
if facts.readFailure != nil && !facts.isBusy {
|
||||
Button("重新检查") { Task { await control.recheckSystemProxy() } }
|
||||
.controlSize(.small)
|
||||
}
|
||||
}
|
||||
.buttonStyle(.borderedProminent)
|
||||
}
|
||||
|
||||
private func differenceMessage(_ kind: SystemProxyDifference.Kind) -> String {
|
||||
|
||||
Reference in New Issue
Block a user