fix: fixed a bug in the setup process that set "Start at login" to on even if the user chooses to not turn that on.

This commit is contained in:
Serhiy Mytrovtsiy
2024-04-10 17:11:53 +02:00
parent 2ec21de043
commit 7c8baef330

View File

@@ -86,10 +86,7 @@ extension AppDelegate {
} }
internal func defaultValues() { internal func defaultValues() {
if !Store.shared.exist(key: "runAtLoginInitialized") { if Store.shared.exist(key: "runAtLoginInitialized") {
Store.shared.set(key: "runAtLoginInitialized", value: true)
LaunchAtLogin.isEnabled = true
} else {
LaunchAtLogin.migrate() LaunchAtLogin.migrate()
} }