diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-31 01:00:27 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-31 02:17:47 +0100 |
commit | 2e78aecd6854f63fdaa8bc8a5e591ea6db1759e7 (patch) | |
tree | d389821dd9e5f6d8f65bba2ae700fbdeef3f4d72 /WireGuard/WireGuard/UI/TunnelViewModel.swift | |
parent | wireguard-go: pull in recent change (diff) | |
download | wireguard-apple-2e78aecd6854f63fdaa8bc8a5e591ea6db1759e7.tar.xz wireguard-apple-2e78aecd6854f63fdaa8bc8a5e591ea6db1759e7.zip |
UI: More elegant copy-to-clipboard behavior
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuard/UI/TunnelViewModel.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/TunnelViewModel.swift | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/TunnelViewModel.swift b/WireGuard/WireGuard/UI/TunnelViewModel.swift index fe50cbc..56fa372 100644 --- a/WireGuard/WireGuard/UI/TunnelViewModel.swift +++ b/WireGuard/WireGuard/UI/TunnelViewModel.swift @@ -10,7 +10,6 @@ class TunnelViewModel { case privateKey = "Private key" case publicKey = "Public key" case generateKeyPair = "Generate keypair" - case copyPublicKey = "Copy public key" case addresses = "Addresses" case listenPort = "Listen port" case mtu = "MTU" @@ -18,7 +17,7 @@ class TunnelViewModel { } static let interfaceFieldsWithControl: Set<InterfaceField> = [ - .generateKeyPair, .copyPublicKey + .generateKeyPair ] enum PeerField: String { |