From a619a82a7f5a5fc0b0149a3cbf7e3f93e7be70cd Mon Sep 17 00:00:00 2001 From: Qiu Yuzhou Date: Wed, 14 Oct 2026 11:39:36 +0800 Subject: [PATCH] fix(connectivity): leave untested results blank --- ShadowsocksX-NG2/App/UI/Servers/ConnectivityViews.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShadowsocksX-NG2/App/UI/Servers/ConnectivityViews.swift b/ShadowsocksX-NG2/App/UI/Servers/ConnectivityViews.swift index ba18037d..6336ed21 100644 --- a/ShadowsocksX-NG2/App/UI/Servers/ConnectivityViews.swift +++ b/ShadowsocksX-NG2/App/UI/Servers/ConnectivityViews.swift @@ -47,11 +47,11 @@ struct ConnectivityCell: View { let summary = module.summary(for: node.connectivityServerIDs, at: date) if node.isGroup { record = summary.record - text = record.map { ConnectivityCopy.fastest($0.outcome) } ?? "โ€”" + text = record.map { ConnectivityCopy.fastest($0.outcome) } ?? (summary.hasResults ? "โ€”" : "") if let id = summary.serverID { prefix = workflow.displayName(for: id) + " ยท " } } else { record = module.history(for: node.id).first - text = record.map { ConnectivityCopy.outcome($0.outcome) } ?? "โ€”" + text = record.map { ConnectivityCopy.outcome($0.outcome) } ?? "" } let expired = record?.isExpired(at: date) ?? false let help =