chore(ci): swiftformat macos settings

main
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 { if !self.isControlStatusDuplicate || ControlChannel.shared.lastPingMs != nil {
let status = self.isControlStatusDuplicate ? nil : self.controlStatusLine let status = self.isControlStatusDuplicate ? nil : self.controlStatusLine
let ping = ControlChannel.shared.lastPingMs.map { "Ping \(Int($0)) ms" } 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 { if !line.isEmpty {
Text(line) Text(line)
.font(.caption) .font(.caption)

View File

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