Skip to content

Commit

Permalink
Fix more regression introduced in 8972f7f
Browse files Browse the repository at this point in the history
  • Loading branch information
williambj1 committed Jul 31, 2024
1 parent 8a915f8 commit 4116550
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions HeliPort/Appearance/Preferences/PrefsGeneralView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,21 @@ class PrefsGeneralView: NSView {

let updatesLabel: NSTextField = {
let view = NSTextField(labelWithString: .startup)
view.alignment = .right
return view
}()

let autoUpdateCheckbox: NSButton = {
lazy var autoUpdateCheckbox: NSButton = {
let checkbox = NSButton(checkboxWithTitle: .autoCheckUpdate,
target: NSButton.self,
target: self,
action: #selector(checkboxChanged(_:)))
checkbox.identifier = .autoUpdateId
return checkbox
}()

let autoDownloadCheckbox: NSButton = {
lazy var autoDownloadCheckbox: NSButton = {
let checkbox = NSButton(checkboxWithTitle: .autoDownload,
target: NSButton.self,
target: self,
action: #selector(checkboxChanged(_:)))
checkbox.identifier = .autoDownloadId
return checkbox
Expand Down

0 comments on commit 4116550

Please sign in to comment.