iOS: Ensure fields are updated on saving
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
80de2ac6ac
commit
1be133f269
|
@ -220,6 +220,7 @@ extension TunnelDetailTableViewController: TunnelEditTableViewControllerDelegate
|
||||||
func tunnelSaved(tunnel: TunnelContainer) {
|
func tunnelSaved(tunnel: TunnelContainer) {
|
||||||
tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration)
|
tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration)
|
||||||
loadSections()
|
loadSections()
|
||||||
|
loadVisibleFields()
|
||||||
title = tunnel.name
|
title = tunnel.name
|
||||||
restorationIdentifier = "TunnelDetailVC:\(tunnel.name)"
|
restorationIdentifier = "TunnelDetailVC:\(tunnel.name)"
|
||||||
tableView.reloadData()
|
tableView.reloadData()
|
||||||
|
|
Loading…
Reference in New Issue