diff --git a/apps/macos/Sources/Clawdis/CritterStatusLabel.swift b/apps/macos/Sources/Clawdis/CritterStatusLabel.swift index 25ad65ee0..6d69dbc97 100644 --- a/apps/macos/Sources/Clawdis/CritterStatusLabel.swift +++ b/apps/macos/Sources/Clawdis/CritterStatusLabel.swift @@ -219,7 +219,7 @@ struct CritterStatusLabel: View { switch self.gatewayStatus { case .failed, .stopped: !self.isPaused - case .starting, .restarting, .running, .attachedExisting: + case .starting, .running, .attachedExisting: false } } diff --git a/apps/macos/Sources/Clawdis/GatewayProcessManager.swift b/apps/macos/Sources/Clawdis/GatewayProcessManager.swift index 41b6bc96e..4ffd1f420 100644 --- a/apps/macos/Sources/Clawdis/GatewayProcessManager.swift +++ b/apps/macos/Sources/Clawdis/GatewayProcessManager.swift @@ -241,7 +241,7 @@ final class GatewayProcessManager { CommandResolver.projectRootPath() } - private static func readGatewayLog(path: String, limit: Int) -> String { + private nonisolated static func readGatewayLog(path: String, limit: Int) -> String { guard FileManager.default.fileExists(atPath: path) else { return "" } guard let data = try? Data(contentsOf: URL(fileURLWithPath: path)) else { return "" } let text = String(data: data, encoding: .utf8) ?? ""