Tunnel detail: Update restorationIdentifier when tunnel name changes
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user