diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-11-03 19:35:25 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-11-03 19:35:25 +0100 |
commit | 955de09c9e0e318642089fe63c4c1d44517e3ff8 (patch) | |
tree | 82e99b4f67464fa5c464eff9a7d6db5a40b8d669 /WireGuard/WireGuard/UI/TunnelViewModel.swift | |
parent | Settings: limit size of logo (diff) | |
download | wireguard-apple-955de09c9e0e318642089fe63c4c1d44517e3ff8.tar.xz wireguard-apple-955de09c9e0e318642089fe63c4c1d44517e3ff8.zip |
Global: run through swiftlint
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/WireGuard/UI/TunnelViewModel.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/TunnelViewModel.swift b/WireGuard/WireGuard/UI/TunnelViewModel.swift index 8a9cba4..6fa13b4 100644 --- a/WireGuard/WireGuard/UI/TunnelViewModel.swift +++ b/WireGuard/WireGuard/UI/TunnelViewModel.swift @@ -39,7 +39,7 @@ class TunnelViewModel { class InterfaceData { var scratchpad: [InterfaceField: String] = [:] var fieldsWithError: Set<InterfaceField> = [] - var validatedConfiguration: InterfaceConfiguration? = nil + var validatedConfiguration: InterfaceConfiguration? subscript(field: InterfaceField) -> String { get { @@ -176,7 +176,7 @@ class TunnelViewModel { var index: Int var scratchpad: [PeerField: String] = [:] var fieldsWithError: Set<PeerField> = [] - var validatedConfiguration: PeerConfiguration? = nil + var validatedConfiguration: PeerConfiguration? // For exclude private IPs var shouldAllowExcludePrivateIPsControl: Bool = false /* Read-only from the VC's point of view */ |