Tunnel detail: Update restorationIdentifier when tunnel name changes
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
20f8abdf04
commit
78eaab8b5b
|
@ -106,6 +106,7 @@ extension TunnelDetailTableViewController: TunnelEditTableViewControllerDelegate
|
||||||
tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration())
|
tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration())
|
||||||
loadSections()
|
loadSections()
|
||||||
title = tunnel.name
|
title = tunnel.name
|
||||||
|
restorationIdentifier = "TunnelDetailVC:\(tunnel.name)"
|
||||||
tableView.reloadData()
|
tableView.reloadData()
|
||||||
}
|
}
|
||||||
func tunnelEditingCancelled() {
|
func tunnelEditingCancelled() {
|
||||||
|
|
Loading…
Reference in New Issue