Reformat code
This commit is contained in:
@@ -219,7 +219,7 @@ public class ExtensionPlatformInterface: NSObject, LibboxPlatformInterfaceProtoc
|
||||
tunnel.writeMessage(message)
|
||||
}
|
||||
|
||||
private var nwMonitor: NWPathMonitor? = nil
|
||||
private var nwMonitor: NWPathMonitor?
|
||||
|
||||
public func startDefaultInterfaceMonitor(_ listener: LibboxInterfaceUpdateListenerProtocol?) throws {
|
||||
guard let listener else {
|
||||
@@ -287,7 +287,7 @@ public class ExtensionPlatformInterface: NSObject, LibboxPlatformInterfaceProtoc
|
||||
iterator = array.makeIterator()
|
||||
}
|
||||
|
||||
private var nextValue: LibboxNetworkInterface? = nil
|
||||
private var nextValue: LibboxNetworkInterface?
|
||||
|
||||
func hasNext() -> Bool {
|
||||
nextValue = iterator.next()
|
||||
|
||||
@@ -9,7 +9,7 @@ import NetworkExtension
|
||||
#endif
|
||||
|
||||
open class ExtensionProvider: NEPacketTunnelProvider {
|
||||
public var username: String? = nil
|
||||
public var username: String?
|
||||
private var commandServer: LibboxCommandServer!
|
||||
private var boxService: LibboxBoxService!
|
||||
private var systemProxyAvailable = false
|
||||
|
||||
Reference in New Issue
Block a user