diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-09-23 06:08:20 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-09-23 06:08:53 +0200 |
commit | abf506c1fea651b0f7a8dba1573a9806b553c861 (patch) | |
tree | 4f3b64126a304d2705eefd3918538964a409d187 /Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift | |
parent | WireGuardApp: restore old keychain consistency behavior (diff) | |
download | wireguard-apple-abf506c1fea651b0f7a8dba1573a9806b553c861.tar.xz wireguard-apple-abf506c1fea651b0f7a8dba1573a9806b553c861.zip |
UI: iOS: remove list pinking when no config
This reverts commit 86afd1a46a83038a787176272a7c486b7269e1a3.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift')
-rw-r--r-- | Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift b/Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift index dcca9ec..4dbe97c 100644 --- a/Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift +++ b/Sources/WireGuardApp/UI/iOS/View/TunnelListCell.swift @@ -159,10 +159,6 @@ class TunnelListCell: UITableViewCell { statusSwitch.isUserInteractionEnabled = (status == .inactive || status == .active) } - if tunnel.tunnelConfiguration == nil { - statusSwitch.isUserInteractionEnabled = false - backgroundColor = .systemPink - } } private func reset(animated: Bool) { |