Browse Source

Fix shortcut not working.

master
Abhishek Banthia 7 months ago
parent
commit
4790967e8f
  1. 5
      Clocker/AppDelegate.swift

5
Clocker/AppDelegate.swift

@ -174,7 +174,10 @@ open class AppDelegate: NSObject, NSApplicationDelegate {
} }
@IBAction func ping(_ sender: NSButton) { @IBAction func ping(_ sender: NSButton) {
togglePanel(sender) if let statusItemButton = statusBarHandler.statusItem.button {
statusItemButton.state = statusItemButton.state == .on ? .off : .on
togglePanel(statusItemButton)
}
} }
private func retrieveLatestLocation() { private func retrieveLatestLocation() {

Loading…
Cancel
Save