Skip to content

Commit 8751104

Browse files
committed
feat: update ConnectionInfoViewModel
1 parent e84513a commit 8751104

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

IVPNWidget/Scene/ConnectionInfo/ConnectionInfoViewModel.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ extension ConnectionInfoView {
7676
if protocolName == "wireguard" {
7777
name = "WireGuard"
7878
proto = wireguardProtocol()
79+
if model.multiHop && model.isV2ray {
80+
return "\(name), \(proto) \(port)"
81+
}
7982
}
8083
if protocolName == "openvpn" {
8184
name = "OpenVPN"

0 commit comments

Comments
 (0)