Add toggle recorder option in menu bar

This commit is contained in:
Beingpax 2025-12-12 21:24:30 +05:45
parent 80d4dff640
commit eceb43f490

View File

@ -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 {
}
}
}
}
}