Skip to content

Commit

Permalink
Activate app on menubar click
Browse files Browse the repository at this point in the history
  • Loading branch information
isiahmanns committed Oct 1, 2023
1 parent 5dd0b81 commit e5bdd0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Hourglass/Hourglass/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {

@objc private func toggleAppUI() {
showWindow(.app)
NSApplication.shared.activate(ignoringOtherApps: true)
}

private func setupAppUI() {
Expand Down

0 comments on commit e5bdd0d

Please sign in to comment.