diff --git a/apps/macos/Sources/Clawdis/GatewayProcessManager.swift b/apps/macos/Sources/Clawdis/GatewayProcessManager.swift index 3b7551aaf..ca0425816 100644 --- a/apps/macos/Sources/Clawdis/GatewayProcessManager.swift +++ b/apps/macos/Sources/Clawdis/GatewayProcessManager.swift @@ -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? diff --git a/apps/macos/Sources/Clawdis/TailscaleIntegrationSection.swift b/apps/macos/Sources/Clawdis/TailscaleIntegrationSection.swift index a26f946bb..574e28521 100644 --- a/apps/macos/Sources/Clawdis/TailscaleIntegrationSection.swift +++ b/apps/macos/Sources/Clawdis/TailscaleIntegrationSection.swift @@ -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 ?? ""