aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-19 16:23:29 +0530
committerRoopesh Chander <roop@roopc.net>2018-12-19 18:35:53 +0530
commit35450bf407c0ec05d510f6148ecef0192d3b8003 (patch)
tree86575776fc7ca11b46a2cb749be105d7bb098306 /WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift
parentTunnel edit: Fix comment (diff)
downloadwireguard-apple-35450bf407c0ec05d510f6148ecef0192d3b8003.tar.xz
wireguard-apple-35450bf407c0ec05d510f6148ecef0192d3b8003.zip
Remove non-helpful comments
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift')
-rw-r--r--WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift2
1 files changed, 0 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift
index cd6c7d8..6fb54fc 100644
--- a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift
@@ -61,7 +61,6 @@ class TunnelDetailTableViewController: UITableViewController {
tableView.register(KeyValueCell.self)
tableView.register(ButtonCell.self)
- // State restoration
restorationIdentifier = "TunnelDetailVC:\(tunnel.name)"
}
@@ -91,7 +90,6 @@ class TunnelDetailTableViewController: UITableViewController {
alert.addAction(destroyAction)
alert.addAction(cancelAction)
- // popoverPresentationController will be nil on iPhone and non-nil on iPad
alert.popoverPresentationController?.sourceView = sourceView
alert.popoverPresentationController?.sourceRect = sourceView.bounds