aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-10-29 02:21:19 +0530
committerRoopesh Chander <roop@roopc.net>2018-10-29 02:21:19 +0530
commitd48a4382b77d77dfff67098530bc9ac5b8e1afcf (patch)
tree03b18a2f328213c470dbe0c4c218746df5cd6e0f
parentTunnel detail: Copying the public key (diff)
downloadwireguard-apple-d48a4382b77d77dfff67098530bc9ac5b8e1afcf.tar.xz
wireguard-apple-d48a4382b77d77dfff67098530bc9ac5b8e1afcf.zip
Tunnel detail: Change title after editing completes
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r--WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
index 8a8c53f..6b6e721 100644
--- a/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
@@ -67,6 +67,7 @@ class TunnelDetailTableViewController: UITableViewController {
extension TunnelDetailTableViewController: TunnelEditTableViewControllerDelegate {
func tunnelSaved(tunnel: TunnelContainer) {
tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration())
+ self.title = tunnel.name
self.tableView.reloadData()
}
func tunnelEditingCancelled() {