aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-02-05 15:54:23 +0530
committerRoopesh Chander <roop@roopc.net>2019-02-05 15:54:23 +0530
commit1be133f26974d108db4458ac11478d1b2028bd3a (patch)
tree830f68327fbb3e510bd3cb2bb6777eb7d75bfd56 /WireGuard
parentmacOS: Apply runtime configuration by diff-ing (diff)
downloadwireguard-apple-1be133f26974d108db4458ac11478d1b2028bd3a.tar.xz
wireguard-apple-1be133f26974d108db4458ac11478d1b2028bd3a.zip
iOS: Ensure fields are updated on saving
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard')
-rw-r--r--WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift
index 31ad1112..955bf91e 100644
--- a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift
@@ -220,6 +220,7 @@ extension TunnelDetailTableViewController: TunnelEditTableViewControllerDelegate
func tunnelSaved(tunnel: TunnelContainer) {
tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration)
loadSections()
+ loadVisibleFields()
title = tunnel.name
restorationIdentifier = "TunnelDetailVC:\(tunnel.name)"
tableView.reloadData()