From 78eaab8b5b3285a1e96a7642c706c05bbee92536 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Tue, 18 Dec 2018 19:27:27 +0530 Subject: [PATCH] Tunnel detail: Update restorationIdentifier when tunnel name changes Signed-off-by: Roopesh Chander --- .../UI/iOS/ViewController/TunnelDetailTableViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift index ed48d0f..1e1ac59 100644 --- a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift @@ -106,6 +106,7 @@ extension TunnelDetailTableViewController: TunnelEditTableViewControllerDelegate tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration()) loadSections() title = tunnel.name + restorationIdentifier = "TunnelDetailVC:\(tunnel.name)" tableView.reloadData() } func tunnelEditingCancelled() {