iOS: Ensure fields are updated on saving

This commit is contained in:
Roopesh Chander 2019-02-05 15:54:23 +05:30
parent caa4fadd01
commit 1ae8e6228f
1 changed files with 1 additions and 0 deletions

View File

@ -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()