diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-11 02:03:11 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-11 02:18:42 +0200 |
commit | 377f2f0496e88713fe576d9b47378150d4005655 (patch) | |
tree | 42d7718eef7ac63b98ee338316336d7c7ee7bb0a /WireGuard/WireGuard/UI/macOS/ViewController/ManageTunnelsRootViewController.swift | |
parent | Version bump (diff) | |
download | wireguard-apple-377f2f0496e88713fe576d9b47378150d4005655.tar.xz wireguard-apple-377f2f0496e88713fe576d9b47378150d4005655.zip |
TunnelsManager: store UID on macOS for keychain availability
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ViewController/ManageTunnelsRootViewController.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/ManageTunnelsRootViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/ManageTunnelsRootViewController.swift index 179387f..0ad0805 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/ManageTunnelsRootViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/ManageTunnelsRootViewController.swift @@ -81,7 +81,7 @@ extension ManageTunnelsRootViewController: TunnelsListTableViewControllerDelegat assert(!tunnelIndices.isEmpty) if tunnelIndices.count == 1 { let tunnel = tunnelsManager.tunnel(at: tunnelIndices.first!) - if tunnel.isTunnelConfigurationAvailableInKeychain { + if tunnel.isTunnelAvailableToUser { let tunnelDetailVC = TunnelDetailTableViewController(tunnelsManager: tunnelsManager, tunnel: tunnel) setTunnelDetailContentVC(tunnelDetailVC) self.tunnelDetailVC = tunnelDetailVC |