Fix enum case

This commit is contained in:
Davide De Rosa 2019-04-06 20:33:18 +02:00
parent 44334486f7
commit 2bc7c031c2
4 changed files with 5 additions and 5 deletions

View File

@ -68,7 +68,7 @@ class AccountViewController: UIViewController, TableModelHost {
case .pia:
return V.pia(name.rawValue)
case .protonVpn:
case .protonVPN:
return V.protonvpn(name.rawValue)
case .tunnelBear:

View File

@ -165,14 +165,14 @@ public class AppConstants {
}
public static let guidances: [Infrastructure.Name: String] = [
.protonVpn: "https://account.protonvpn.com/settings",
.protonVPN: "https://account.protonvpn.com/settings",
.windscribe: "https://windscribe.com/getconfig/openvpn"
]
public static let referrals: [Infrastructure.Name: String] = [
.mullvad: "https://mullvad.net/en/account/create/",
.pia: "https://www.privateinternetaccess.com/pages/buy-vpn/",
.protonVpn: "https://protonvpn.net/?aid=keeshux",
.protonVPN: "https://protonvpn.net/?aid=keeshux",
.tunnelBear: "https://click.tunnelbear.com/aff_c?offer_id=2&aff_id=7464",
.windscribe: "https://secure.link/kCsD0prd"
]

View File

@ -32,7 +32,7 @@ public struct Infrastructure: Codable {
case pia = "PIA"
case protonVpn = "ProtonVPN"
case protonVPN = "ProtonVPN"
case tunnelBear = "TunnelBear"

View File

@ -59,7 +59,7 @@ public class InfrastructureFactory {
public let allNames: [Infrastructure.Name] = [
.mullvad,
.pia,
.protonVpn,
.protonVPN,
.tunnelBear,
.windscribe
]