diff options
author | Roopesh Chander <roop@roopc.net> | 2019-02-05 15:54:23 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-02-05 15:54:23 +0530 |
commit | 1be133f26974d108db4458ac11478d1b2028bd3a (patch) | |
tree | 830f68327fbb3e510bd3cb2bb6777eb7d75bfd56 | |
parent | macOS: Apply runtime configuration by diff-ing (diff) | |
download | wireguard-apple-1be133f26974d108db4458ac11478d1b2028bd3a.tar.xz wireguard-apple-1be133f26974d108db4458ac11478d1b2028bd3a.zip |
iOS: Ensure fields are updated on saving
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift | 1 |
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 31ad111..955bf91 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() |