style: emphasize system proxy action buttons

This commit is contained in:
Qiu Yuzhou
2026-10-28 19:05:56 +08:00
parent 3e3749e3a6
commit eca913f2ab
@@ -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 {