Skip to content

Commit

Permalink
fix: blind fix trying to guess root cause of #202
Browse files Browse the repository at this point in the history
  • Loading branch information
lwouis committed Apr 2, 2020
1 parent b091282 commit fb4fe11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/preferences-window/tabs/GeneralTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class GeneralTab {

// adding/removing login item depending on the checkbox state
@available(OSX, deprecated: 10.11)
@objc private static func startAtLoginCallback(_ sender: NSControl) {
@objc static func startAtLoginCallback(_ sender: NSControl) {
let loginItems = LSSharedFileListCreate(nil, kLSSharedFileListSessionLoginItems.takeRetainedValue(), nil).takeRetainedValue()
let loginItemsSnapshot = LSSharedFileListCopySnapshot(loginItems, nil).takeRetainedValue() as! [LSSharedFileListItem]
loginItemsSnapshot.forEach {
Expand Down

0 comments on commit fb4fe11

Please sign in to comment.