chore(ci): swiftformat macos settings
parent
12d6e1cddd
commit
cd6addd742
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue