Renamed the RecordingService protocol in the Recording package target as Capturing.
This commit is contained in:
@@ -28,7 +28,7 @@ extension ContentView {
|
||||
|
||||
/// The service that captures the audio from the device's microphone.
|
||||
@ObservationIgnored
|
||||
let recorder: AudioRecordingService
|
||||
let capturer: AudioCapturing
|
||||
|
||||
/// The service that transcribes the recorded audio into text on device.
|
||||
@ObservationIgnored
|
||||
@@ -41,7 +41,7 @@ extension ContentView {
|
||||
init() {
|
||||
self.locale = .current
|
||||
self.locales = []
|
||||
self.recorder = .init()
|
||||
self.capturer = .init()
|
||||
self.transcriber = .init()
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ struct ContentView: View {
|
||||
var body: some View {
|
||||
NavigationStack {
|
||||
RecordingView(
|
||||
recorder: model.recorder,
|
||||
capturer: model.capturer,
|
||||
transcriber: model.transcriber,
|
||||
locale: $model.locale,
|
||||
) { transcription in
|
||||
|
||||
Reference in New Issue
Block a user