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() { private func setupShortcutObserver() {
let defaults = NSUserDefaultsController.shared let defaults = NSUserDefaultsController.shared
recorderControl.setAccessibility("ShortcutControl") recorderControl.setAccessibilityElement(true)
recorderControl.setAccessibilityIdentifier("ShortcutControl")
recorderControl.setAccessibilityLabel("ShortcutControl")
recorderControl.bind(NSBindingName.value, recorderControl.bind(NSBindingName.value,
to: defaults, to: defaults,
withKeyPath: PreferencesConstants.hotKeyPathIdentifier, withKeyPath: PreferencesConstants.hotKeyPathIdentifier,

Loading…
Cancel
Save