aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-10-29 02:19:11 +0530
committerRoopesh Chander <roop@roopc.net>2018-10-29 02:19:11 +0530
commit335618a8db59d902518c8fa442a77b590137f649 (patch)
tree48e5c0fea512128d81d759a2127c987728dad3cb /WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
parentTunnel editing: Fix cell class names (diff)
downloadwireguard-apple-335618a8db59d902518c8fa442a77b590137f649.tar.xz
wireguard-apple-335618a8db59d902518c8fa442a77b590137f649.zip
Tunnel detail: Copying the public key
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift')
-rw-r--r--WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
index 1f09cf4..8a8c53f 100644
--- a/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/TunnelDetailTableViewController.swift
@@ -174,7 +174,7 @@ extension TunnelDetailTableViewController {
let cell = tableView.dequeueReusableCell(withIdentifier: TunnelDetailTableViewButtonCell.id, for: indexPath) as! TunnelDetailTableViewButtonCell
cell.buttonText = field.rawValue
cell.onTapped = {
- print("Copying public key is unimplemented") // TODO
+ UIPasteboard.general.string = interfaceData[.publicKey]
}
return cell
} else {