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

View File

@ -324,4 +324,3 @@ extension SSIDOptionEditTableViewController {
} }
} }
} }

View File

@ -16,7 +16,7 @@ class ConfTextStorage: NSTextStorage {
private(set) var hasError = false private(set) var hasError = false
private(set) var privateKeyString: String? private(set) var privateKeyString: String?
private(set) var hasOnePeer: Bool = false private(set) var hasOnePeer = false
private(set) var lastOnePeerAllowedIPs = [String]() private(set) var lastOnePeerAllowedIPs = [String]()
private(set) var lastOnePeerDNSServers = [String]() private(set) var lastOnePeerDNSServers = [String]()
private(set) var lastOnePeerHasPublicKey = false private(set) var lastOnePeerHasPublicKey = false

View File

@ -7,7 +7,7 @@ class ConfTextView: NSTextView {
private let confTextStorage = ConfTextStorage() private let confTextStorage = ConfTextStorage()
@objc dynamic var hasError: Bool = false @objc dynamic var hasError = false
@objc dynamic var privateKeyString: String? @objc dynamic var privateKeyString: String?
@objc dynamic var singlePeerAllowedIPs: [String]? @objc dynamic var singlePeerAllowedIPs: [String]?