Menu("+") {
Button("add") {
print("add")
}
.keyboardShortcut("a", modifiers: [.command])
}
The menu button not show keyboard shortcut label, and the shortcut function can not be used. I don't know if this is a bug or a function lack, obviously it not working as I expected.
My environment: macOS Monterey 12.1 (21C52) XCode 13.1