Add toggle recorder option in menu bar
This commit is contained in:
parent
80d4dff640
commit
eceb43f490
@ -15,6 +15,12 @@ struct MenuBarView: View {
|
||||
|
||||
var body: some View {
|
||||
VStack {
|
||||
Button("Toggle Recorder") {
|
||||
whisperState.handleToggleMiniRecorder()
|
||||
}
|
||||
|
||||
Divider()
|
||||
|
||||
Menu {
|
||||
ForEach(whisperState.usableModels, id: \.id) { model in
|
||||
Button {
|
||||
@ -182,7 +188,7 @@ struct MenuBarView: View {
|
||||
.id("additional-menu-\(menuRefreshTrigger)")
|
||||
|
||||
Divider()
|
||||
|
||||
|
||||
Button("Retry Last Transcription") {
|
||||
LastTranscriptionService.retryLastTranscription(from: whisperState.modelContext, whisperState: whisperState)
|
||||
}
|
||||
@ -230,4 +236,4 @@ struct MenuBarView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user