Skip to content

Commit

Permalink
feat: Rename Exit to Quit (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonjek authored Mar 31, 2024
1 parent e6ea810 commit 9e7b4af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file added .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions internal/tray/tray.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (t *Tray) onReady() {
mInterval := systray.AddMenuItem("Sleep Interval", "Set mouse movement interval")
systray.AddSeparator()
mAbout := systray.AddMenuItem("About", "Open GitHub repo")
mExit := systray.AddMenuItem("Exit", "Exit the application")
mQuit := systray.AddMenuItem("Quit", "Quit the application")

// Hide the enable option since it's already enabled by default
if t.mouseController.Enabled {
Expand Down Expand Up @@ -105,7 +105,7 @@ func (t *Tray) onReady() {
t.updateIntervalChecks(interval)
case <-mAbout.ClickedCh:
utils.OpenWebPage(t.mouseController.GitRepo)
case <-mExit.ClickedCh:
case <-mQuit.ClickedCh:
systray.Quit()
return
}
Expand Down

0 comments on commit 9e7b4af

Please sign in to comment.