diff --git a/apps/macos/Sources/Clawdis/CritterStatusLabel.swift b/apps/macos/Sources/Clawdis/CritterStatusLabel.swift index 668203d3c..23b9502fa 100644 --- a/apps/macos/Sources/Clawdis/CritterStatusLabel.swift +++ b/apps/macos/Sources/Clawdis/CritterStatusLabel.swift @@ -243,7 +243,7 @@ enum CritterIconRenderer { NSGraphicsContext.saveGraphicsState() if let context = NSGraphicsContext(bitmapImageRep: rep) { NSGraphicsContext.current = context - context.interpolationQuality = .none + context.imageInterpolation = .none context.cgContext.setShouldAntialias(false) defer { NSGraphicsContext.restoreGraphicsState() } diff --git a/apps/macos/Sources/Clawdis/GatewayChannel.swift b/apps/macos/Sources/Clawdis/GatewayChannel.swift index e2726874b..59ca34592 100644 --- a/apps/macos/Sources/Clawdis/GatewayChannel.swift +++ b/apps/macos/Sources/Clawdis/GatewayChannel.swift @@ -38,7 +38,9 @@ private actor GatewayChannelActor { init(url: URL, token: String?) { self.url = url self.token = token - self.startWatchdog() + Task { [weak self] in + await self?.startWatchdog() + } } private func startWatchdog() {