From: Roopesh Chander Date: Tue, 18 Dec 2018 13:57:27 +0000 (+0530) Subject: Tunnel detail: Update restorationIdentifier when tunnel name changes X-Git-Tag: 0.0.20181225-1~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78eaab8b5b3285a1e96a7642c706c05bbee92536;p=thirdparty%2Fwireguard-apple.git Tunnel detail: Update restorationIdentifier when tunnel name changes Signed-off-by: Roopesh Chander --- 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() {