From f34ee48b079562adc97e9104a2ab23188810cd67 Mon Sep 17 00:00:00 2001 From: Alex Rodionov Date: Mon, 22 Jun 2020 06:53:52 -0400 Subject: [PATCH] Upgrade KeyboardShortcuts to 0.3.0 It adds support for default shortcuts and fixes a bug when the same shortcut could not be recorded 2+ times: * sindresorhus/KeyboardShortcuts#13 * sindresorhus/KeyboardShortcuts#15 --- .../GeneralPreferenceViewController.xib | 40 ++++++++--------- .../GeneralPreferenceViewController.swift | 4 +- Podfile | 2 +- Podfile.lock | 15 +++---- .../Sources/KeyboardShortcuts/Key.swift | 4 +- .../Sources/KeyboardShortcuts/Recorder.swift | 19 +++++--- .../KeyboardShortcuts/RecorderCocoa.swift | 43 +++++++++++++------ .../Sources/KeyboardShortcuts/Shortcut.swift | 6 +-- .../KeyboardShortcuts.podspec.json | 4 +- Pods/Manifest.lock | 15 +++---- .../KeyboardShortcuts/Info.plist | 2 +- 11 files changed, 88 insertions(+), 66 deletions(-) diff --git a/Maccy/Preferences/Base.lproj/GeneralPreferenceViewController.xib b/Maccy/Preferences/Base.lproj/GeneralPreferenceViewController.xib index 0eb42aca..d7b8768f 100644 --- a/Maccy/Preferences/Base.lproj/GeneralPreferenceViewController.xib +++ b/Maccy/Preferences/Base.lproj/GeneralPreferenceViewController.xib @@ -11,7 +11,7 @@ - + @@ -72,7 +72,7 @@ Hotkey: - + Global shortcut key to open application. Default: ⌘+⇧+C. @@ -109,7 +109,7 @@ Default: ⌘+⇧+C.