Some main menu fixes
This commit is contained in:
@@ -16,6 +16,10 @@ extension UIKeyCommand {
|
||||
UIKeyCommand(modifiers: [], input: "", title: "", action: #selector(_null))
|
||||
}
|
||||
|
||||
public func isNull() -> Bool {
|
||||
return action == #selector(_null)
|
||||
}
|
||||
|
||||
convenience init(modifiers: UIKeyModifierFlags, input: String, title: String, action: Selector) {
|
||||
self.init(input: input, modifierFlags: modifiers, action: action)
|
||||
self.title = title
|
||||
|
||||
Reference in New Issue
Block a user