diff --git a/apps/macos/Sources/Clawdis/GeneralSettings.swift b/apps/macos/Sources/Clawdis/GeneralSettings.swift index fb26f4fc9..22f19cfea 100644 --- a/apps/macos/Sources/Clawdis/GeneralSettings.swift +++ b/apps/macos/Sources/Clawdis/GeneralSettings.swift @@ -200,7 +200,7 @@ struct GeneralSettings: View { if !self.isControlStatusDuplicate || ControlChannel.shared.lastPingMs != nil { let status = self.isControlStatusDuplicate ? nil : self.controlStatusLine let ping = ControlChannel.shared.lastPingMs.map { "Ping \(Int($0)) ms" } - let line = [status, ping].compactMap { $0 }.joined(separator: " · ") + let line = [status, ping].compactMap(\.self).joined(separator: " · ") if !line.isEmpty { Text(line) .font(.caption) diff --git a/apps/macos/Sources/Clawdis/SessionsSettings.swift b/apps/macos/Sources/Clawdis/SessionsSettings.swift index df33a9832..88e87eea6 100644 --- a/apps/macos/Sources/Clawdis/SessionsSettings.swift +++ b/apps/macos/Sources/Clawdis/SessionsSettings.swift @@ -173,7 +173,6 @@ struct SessionsSettings: View { self.loading = false } - } private struct SessionKindBadge: View {