feat: mark proxy group speedtestable
This commit is contained in:
parent
233bc80b39
commit
e5b191c9e7
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user