This works
Button(action: {
print("pressed")
}){
Text("Button")
}
.keyboardShortcut("B", modifiers: .command)
This doesn't
Button(action: {
print("pressed")
}){
Text("Button")
}
.buttonStyle(PlainButtonStyle())
.keyboardShortcut("B", modifiers: .command)
Has anyone else experienced this