aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-18 19:27:27 +0530
committerRoopesh Chander <roop@roopc.net>2018-12-18 19:27:31 +0530
commit78eaab8b5b3285a1e96a7642c706c05bbee92536 (patch)
treeffc4555162b4ab423d97e1d5d5775d8e25a9c27b /WireGuard
parentTunnelsManager: Add periods to end the system error messages (diff)
downloadwireguard-apple-78eaab8b5b3285a1e96a7642c706c05bbee92536.tar.xz
wireguard-apple-78eaab8b5b3285a1e96a7642c706c05bbee92536.zip
Tunnel detail: Update restorationIdentifier when tunnel name changes
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard')
-rw-r--r--WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift1
1 files changed, 1 insertions, 0 deletions
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() {