aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-10-24 17:21:39 +0530
committerRoopesh Chander <roop@roopc.net>2018-10-27 15:13:01 +0530
commit6cddb9e34b14f8c215492574a3e7144fbae68337 (patch)
tree4655874794f08b9cd435f67627c8089263b361d4 /WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift
parentTunnel editing: Modifying a tunnel configuration (diff)
downloadwireguard-apple-6cddb9e34b14f8c215492574a3e7144fbae68337.tar.xz
wireguard-apple-6cddb9e34b14f8c215492574a3e7144fbae68337.zip
VPN: Tunnel container shall provide direct access to the configuration object
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift')
-rw-r--r--WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift
index 2543444..e3efc50 100644
--- a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift
@@ -32,7 +32,7 @@ class TunnelEditTableViewController: UITableViewController {
init(tunnelsManager tm: TunnelsManager, tunnel t: TunnelContainer? = nil) {
tunnelsManager = tm
tunnel = t
- tunnelViewModel = TunnelViewModel(tunnelConfiguration: t?.tunnelProvider.tunnelConfiguration)
+ tunnelViewModel = TunnelViewModel(tunnelConfiguration: t?.tunnelConfiguration)
super.init(style: .grouped)
self.modalPresentationStyle = .formSheet
}