diff options
author | Roopesh Chander <roop@roopc.net> | 2018-11-28 12:41:35 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-11-28 12:41:35 +0530 |
commit | 3e1772ccd035344f244578a0bba044e256cb9150 (patch) | |
tree | d2619d8f4898d1b712338384a089579ed1c26d07 /WireGuard/WireGuard/UI | |
parent | NE: All DNS queries must first go through the VPN's DNS servers (diff) | |
download | wireguard-apple-3e1772ccd035344f244578a0bba044e256cb9150.tar.xz wireguard-apple-3e1772ccd035344f244578a0bba044e256cb9150.zip |
It's 'WiFi', not 'Wifi'
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI')
3 files changed, 11 insertions, 11 deletions
diff --git a/WireGuard/WireGuard/UI/TunnelViewModel.swift b/WireGuard/WireGuard/UI/TunnelViewModel.swift index 992a56d..ea3adf4 100644 --- a/WireGuard/WireGuard/UI/TunnelViewModel.swift +++ b/WireGuard/WireGuard/UI/TunnelViewModel.swift @@ -455,17 +455,17 @@ extension TunnelViewModel { switch (activateOnDemandOption) { case .none: return "" - case .useOnDemandOverWifiOrCellular: - return "Over wifi or cellular" - case .useOnDemandOverWifiOnly: - return "Over wifi only" + case .useOnDemandOverWiFiOrCellular: + return "Over WiFi or cellular" + case .useOnDemandOverWiFiOnly: + return "Over WiFi only" case .useOnDemandOverCellularOnly: return "Over cellular only" } } func defaultActivateOnDemandOption() -> ActivateOnDemandOption { - return .useOnDemandOverWifiOrCellular + return .useOnDemandOverWiFiOrCellular } } diff --git a/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift index ffefa33..5e1727f 100644 --- a/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift @@ -436,10 +436,10 @@ class TunnelDetailTableViewActivateOnDemandCell: UITableViewCell { switch (activateOnDemandSetting.activateOnDemandOption) { case .none: detailText = "Off" - case .useOnDemandOverWifiOrCellular: - detailText = "Wifi or cellular" - case .useOnDemandOverWifiOnly: - detailText = "Wifi only" + case .useOnDemandOverWiFiOrCellular: + detailText = "WiFi or cellular" + case .useOnDemandOverWiFiOnly: + detailText = "WiFi only" case .useOnDemandOverCellularOnly: detailText = "Cellular only" } diff --git a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift index f18fb14..74c6e57 100644 --- a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift @@ -27,8 +27,8 @@ class TunnelEditTableViewController: UITableViewController { ] let activateOnDemandOptions: [ActivateOnDemandOption] = [ - .useOnDemandOverWifiOrCellular, - .useOnDemandOverWifiOnly, + .useOnDemandOverWiFiOrCellular, + .useOnDemandOverWiFiOnly, .useOnDemandOverCellularOnly ] |