diff options
author | Eric Kuck <eric@bluelinelabs.com> | 2018-12-12 21:09:52 -0600 |
---|---|---|
committer | Eric Kuck <eric@bluelinelabs.com> | 2018-12-12 21:09:52 -0600 |
commit | 8a916beb389f84e21ed1aaf0d246801cd6acd73c (patch) | |
tree | 59ad4609e551e3259a802591eba9346b16408873 /WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift | |
parent | More linter warnings fixed, enabled more swiftlint rules, project cleanup (diff) | |
download | wireguard-apple-8a916beb389f84e21ed1aaf0d246801cd6acd73c.tar.xz wireguard-apple-8a916beb389f84e21ed1aaf0d246801cd6acd73c.zip |
More formatting nits and cyclomatic complexity fixes
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift index e5d5af1..f24b452 100644 --- a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift @@ -173,7 +173,7 @@ class TunnelsListTableViewController: UIViewController { ErrorPresenter.showErrorAlert(error: error, from: self) return } - let configs: [TunnelConfiguration?] = result.value! + let configs = result.value! tunnelsManager.addMultiple(tunnelConfigurations: configs.compactMap { $0 }) { [weak self] numberSuccessful in if numberSuccessful == configs.count { completionHandler?() |