From 1be133f26974d108db4458ac11478d1b2028bd3a Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Tue, 5 Feb 2019 15:54:23 +0530 Subject: [PATCH] iOS: Ensure fields are updated on saving Signed-off-by: Roopesh Chander --- .../UI/iOS/ViewController/TunnelDetailTableViewController.swift | 1 + 1 file changed, 1 insertion(+) 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()