Skip to content

Commit 7aeb1fc

Browse files
committed
feat(settings): add launch at login toggle
1 parent e665430 commit 7aeb1fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

OpenDictation/Views/SettingsView.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import SwiftUI
22
import KeyboardShortcuts
33
import Sparkle
4+
import LaunchAtLogin
45

56
/// Main settings view for Open Dictation.
67
/// Provides configuration for shortcut, transcription mode, language, and API settings.
@@ -59,6 +60,11 @@ struct SettingsView: View {
5960
KeyboardShortcuts.Recorder("Keyboard Shortcut", name: .toggleDictation)
6061
}
6162

63+
// MARK: General Settings Section
64+
Section {
65+
LaunchAtLogin.Toggle("Launch at Login")
66+
}
67+
6268
// MARK: Transcription Mode Section
6369
Section {
6470
Picker("Mode", selection: Binding(

0 commit comments

Comments
 (0)