chore(ci): swiftformat macos settings

This commit is contained in:
Peter Steinberger
2025-12-20 21:52:47 +01:00
parent 12d6e1cddd
commit cd6addd742
2 changed files with 1 additions and 2 deletions

View File

@@ -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)

View File

@@ -173,7 +173,6 @@ struct SessionsSettings: View {
self.loading = false
}
}
private struct SessionKindBadge: View {