style(swift): run swiftformat + swiftlint autocorrect

This commit is contained in:
Peter Steinberger
2026-02-15 05:38:07 +01:00
parent 511ba938fb
commit 8725c2b19f
101 changed files with 771 additions and 482 deletions
@@ -183,7 +183,6 @@ struct SessionMenuPreviewView: View {
.frame(width: max(1, self.width), alignment: .leading)
}
@ViewBuilder
private func previewRow(_ item: SessionPreviewItem) -> some View {
HStack(alignment: .top, spacing: 4) {
Text(item.role.label)
@@ -212,7 +211,6 @@ struct SessionMenuPreviewView: View {
}
}
@ViewBuilder
private func placeholder(_ text: String) -> some View {
Text(text)
.font(.caption)
@@ -227,7 +225,9 @@ enum SessionMenuPreviewLoader {
private static let previewMaxChars = 240
private struct PreviewTimeoutError: LocalizedError {
var errorDescription: String? { "preview timeout" }
var errorDescription: String? {
"preview timeout"
}
}
static func prewarm(sessionKeys: [String], maxItems: Int) async {