Tunnel detail: Update restorationIdentifier when tunnel name changes

This commit is contained in:
Roopesh Chander 2018-12-18 19:27:27 +05:30
parent b1bba11785
commit bc253b1aa8
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ extension TunnelDetailTableViewController: TunnelEditTableViewControllerDelegate
tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration())
loadSections()
title = tunnel.name
restorationIdentifier = "TunnelDetailVC:\(tunnel.name)"
tableView.reloadData()
}
func tunnelEditingCancelled() {