feat: mark proxy group speedtestable

This commit is contained in:
yicheng 2023-09-20 13:47:37 +08:00
parent 233bc80b39
commit e5b191c9e7

View File

@ -114,7 +114,7 @@ class ClashProxy: Codable {
guard let resp = enclosingResp, let allProxys = all else { return [] } guard let resp = enclosingResp, let allProxys = all else { return [] }
var proxys = [SpeedtestAbleItem]() var proxys = [SpeedtestAbleItem]()
for proxy in allProxys { for proxy in allProxys {
if let p = resp.proxiesMap[proxy], !ClashProxyType.isProxyGroup(p) { if let p = resp.proxiesMap[proxy] {
if let provider = p.enclosingProvider { if let provider = p.enclosingProvider {
proxys.append(.provider(name: p.name, provider: provider.name)) proxys.append(.provider(name: p.name, provider: provider.name))
} else { } else {