From eca913f2ab6a8f81d91bbdd2437ffaec6a63455e Mon Sep 17 00:00:00 2001 From: Qiu Yuzhou Date: Wed, 28 Oct 2026 19:05:56 +0800 Subject: [PATCH] style: emphasize system proxy action buttons --- ShadowsocksX-NG2/App/UI/Home/RuntimeControlCard.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ShadowsocksX-NG2/App/UI/Home/RuntimeControlCard.swift b/ShadowsocksX-NG2/App/UI/Home/RuntimeControlCard.swift index b1570b03..8c94154a 100644 --- a/ShadowsocksX-NG2/App/UI/Home/RuntimeControlCard.swift +++ b/ShadowsocksX-NG2/App/UI/Home/RuntimeControlCard.swift @@ -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 {