chore: fix lint + build
This commit is contained in:
@@ -33,6 +33,7 @@ final class GatewayProcessManager {
|
|||||||
private(set) var status: Status = .stopped {
|
private(set) var status: Status = .stopped {
|
||||||
didSet { CanvasManager.shared.refreshDebugStatus() }
|
didSet { CanvasManager.shared.refreshDebugStatus() }
|
||||||
}
|
}
|
||||||
|
|
||||||
private(set) var log: String = ""
|
private(set) var log: String = ""
|
||||||
private(set) var environmentStatus: GatewayEnvironmentStatus = .checking
|
private(set) var environmentStatus: GatewayEnvironmentStatus = .checking
|
||||||
private(set) var existingGatewayDetails: String?
|
private(set) var existingGatewayDetails: String?
|
||||||
|
|||||||
@@ -270,8 +270,11 @@ struct TailscaleIntegrationSection: View {
|
|||||||
let authModeRaw = auth["mode"] as? String
|
let authModeRaw = auth["mode"] as? String
|
||||||
let allowTailscale = auth["allowTailscale"] as? Bool
|
let allowTailscale = auth["allowTailscale"] as? Bool
|
||||||
|
|
||||||
if let authModeRaw, authModeRaw == "password" { self.authMode = .password }
|
if let authModeRaw, authModeRaw == "password" {
|
||||||
else { self.authMode = .system }
|
self.authMode = .password
|
||||||
|
} else {
|
||||||
|
self.authMode = .system
|
||||||
|
}
|
||||||
|
|
||||||
self.username = auth["username"] as? String ?? ""
|
self.username = auth["username"] as? String ?? ""
|
||||||
self.password = auth["password"] as? String ?? ""
|
self.password = auth["password"] as? String ?? ""
|
||||||
|
|||||||
Reference in New Issue
Block a user