Browse Source

Merge branch 'master' of https://github.com/n0shake/Clocker

pull/113/head
Abhishek Banthia 3 years ago
parent
commit
c277efaa94
  1. 4
      Clocker/Preferences/General/PreferencesViewController.swift

4
Clocker/Preferences/General/PreferencesViewController.swift

@ -263,7 +263,9 @@ class PreferencesViewController: ParentViewController {
private func setupShortcutObserver() {
let defaults = NSUserDefaultsController.shared
recorderControl.setAccessibility("ShortcutControl")
recorderControl.setAccessibilityElement(true)
recorderControl.setAccessibilityIdentifier("ShortcutControl")
recorderControl.setAccessibilityLabel("ShortcutControl")
recorderControl.bind(NSBindingName.value,
to: defaults,
withKeyPath: PreferencesConstants.hotKeyPathIdentifier,

Loading…
Cancel
Save