Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

swiftformat with Swift 5 (MeetingTranscriptionView only)

Harry Hextall632e45e7ec48
diff --git a/Sources/Fluid/UI/MeetingTranscriptionView.swift b/Sources/Fluid/UI/MeetingTranscriptionView.swift
index 0ea9110f..d62aecd3 100644
--- a/Sources/Fluid/UI/MeetingTranscriptionView.swift
+++ b/Sources/Fluid/UI/MeetingTranscriptionView.swift
@@ -182,9 +182,11 @@ struct MeetingTranscriptionView: View {
.stroke(self.theme.palette.cardBorder.opacity(0.45), lineWidth: 1)
)
)
- .overlay(RoundedRectangle(cornerRadius: 12)
- .strokeBorder(style: StrokeStyle(lineWidth: 2, dash: [8]))
- .foregroundColor(Color.fluidGreen.opacity(self.isDropTargeted ? 0.7 : 0.3)))
+ .overlay(
+ RoundedRectangle(cornerRadius: 12)
+ .strokeBorder(style: StrokeStyle(lineWidth: 2, dash: [8]))
+ .foregroundColor(Color.fluidGreen.opacity(self.isDropTargeted ? 0.7 : 0.3))
+ )
.onDrop(of: [.fileURL], isTargeted: self.$isDropTargeted) { providers in
self.handleDrop(providers: providers)
}
@@ -459,7 +461,9 @@ struct MeetingTranscriptionView: View {
// MARK: - Document for Export
struct TranscriptionDocument: FileDocument {
- static var readableContentTypes: [UTType] { [.plainText, .json] }
+ static var readableContentTypes: [UTType] {
+ [.plainText, .json]
+ }
let result: TranscriptionResult
let format: MeetingTranscriptionView.ExportFormat