Skip to content

Commit e72d884

Browse files
committed
chore: public properties for a validation check
1 parent 2927f70 commit e72d884

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/KeyboardShortcuts/Shortcut.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ extension KeyboardShortcuts.Shortcut {
104104
/**
105105
Check whether the keyboard shortcut is disallowed.
106106
*/
107-
var isDisallowed: Bool {
107+
public var isDisallowed: Bool {
108108
let osVersion = ProcessInfo.processInfo.operatingSystemVersion
109109

110110
guard
@@ -127,7 +127,7 @@ extension KeyboardShortcuts.Shortcut {
127127
/**
128128
Check whether the keyboard shortcut is already taken by the system.
129129
*/
130-
var isTakenBySystem: Bool {
130+
public var isTakenBySystem: Bool {
131131
guard self != Self(.f12, modifiers: []) else {
132132
return false
133133
}
@@ -173,7 +173,7 @@ extension KeyboardShortcuts.Shortcut {
173173
Returns a menu item in the app's main menu that has a matching key equivalent and modifier.
174174
*/
175175
@MainActor
176-
var takenByMainMenu: NSMenuItem? {
176+
public var takenByMainMenu: NSMenuItem? {
177177
guard let mainMenu = NSApp.mainMenu else {
178178
return nil
179179
}

0 commit comments

Comments
 (0)