diff --git a/Coder-Desktop/Coder-Desktop/Views/VPN/VPNMenu.swift b/Coder-Desktop/Coder-Desktop/Views/VPN/VPNMenu.swift index a48be35..53f61b2 100644 --- a/Coder-Desktop/Coder-Desktop/Views/VPN/VPNMenu.swift +++ b/Coder-Desktop/Coder-Desktop/Views/VPN/VPNMenu.swift @@ -86,8 +86,14 @@ struct VPNMenu: View { openSettings() appActivate() } label: { - ButtonRowView { Text("Settings") } - }.buttonStyle(.plain) + ButtonRowView { + HStack { + Text("Settings") + Spacer() + Text("⌘,").foregroundStyle(.secondary) + } + } + }.buttonStyle(.plain).keyboardShortcut(",", modifiers: [.command]) Button { About.open() } label: { @@ -100,9 +106,13 @@ struct VPNMenu: View { NSApp.terminate(nil) } label: { ButtonRowView { - Text("Quit") + HStack { + Text("Quit") + Spacer() + Text("⌘Q").foregroundStyle(.secondary) + } } - }.buttonStyle(.plain) + }.buttonStyle(.plain).keyboardShortcut("q", modifiers: [.command]) }.padding([.horizontal, .bottom], Theme.Size.trayMargin) }.padding(.bottom, Theme.Size.trayMargin) .environmentObject(vpn)