Skip to content

Commit

Permalink
feat: update ConnectionInfoViewModel
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajhilje committed Oct 23, 2023
1 parent e84513a commit 8751104
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions IVPNWidget/Scene/ConnectionInfo/ConnectionInfoViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ extension ConnectionInfoView {
if protocolName == "wireguard" {
name = "WireGuard"
proto = wireguardProtocol()
if model.multiHop && model.isV2ray {
return "\(name), \(proto) \(port)"
}
}
if protocolName == "openvpn" {
name = "OpenVPN"
Expand Down

0 comments on commit 8751104

Please sign in to comment.