chore: fix lint + build

This commit is contained in:
Peter Steinberger
2025-12-21 15:56:48 +01:00
parent e4db7cbd2b
commit f1202ff152
2 changed files with 6 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ final class GatewayProcessManager {
private(set) var status: Status = .stopped {
didSet { CanvasManager.shared.refreshDebugStatus() }
}
private(set) var log: String = ""
private(set) var environmentStatus: GatewayEnvironmentStatus = .checking
private(set) var existingGatewayDetails: String?

View File

@@ -270,8 +270,11 @@ struct TailscaleIntegrationSection: View {
let authModeRaw = auth["mode"] as? String
let allowTailscale = auth["allowTailscale"] as? Bool
if let authModeRaw, authModeRaw == "password" { self.authMode = .password }
else { self.authMode = .system }
if let authModeRaw, authModeRaw == "password" {
self.authMode = .password
} else {
self.authMode = .system
}
self.username = auth["username"] as? String ?? ""
self.password = auth["password"] as? String ?? ""