build: Fix swiftlint warnings

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander
2021-08-02 13:49:47 +05:30
committed by Jason A. Donenfeld
parent 73c708d902
commit a8226b35d2
8 changed files with 7 additions and 8 deletions
@@ -324,4 +324,3 @@ extension SSIDOptionEditTableViewController {
}
}
}
@@ -318,7 +318,7 @@ extension TunnelEditTableViewController {
let removedSectionIndices = self.deletePeer(peer: peerData)
let shouldShowExcludePrivateIPs = (self.tunnelViewModel.peersData.count == 1 && self.tunnelViewModel.peersData[0].shouldAllowExcludePrivateIPsControl)
//swiftlint:disable:next trailing_closure
// swiftlint:disable:next trailing_closure
tableView.performBatchUpdates({
self.tableView.deleteSections(removedSectionIndices, with: .fade)
if shouldShowExcludePrivateIPs {