chore(ci): swiftformat macos settings
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -173,7 +173,6 @@ struct SessionsSettings: View {
|
|||||||
|
|
||||||
self.loading = false
|
self.loading = false
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private struct SessionKindBadge: View {
|
private struct SessionKindBadge: View {
|
||||||
|
|||||||
Reference in New Issue
Block a user