iOS: Ensure fields are updated on saving
This commit is contained in:
parent
caa4fadd01
commit
1ae8e6228f
|
@ -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