From 9e7b4af66859d51c8ef56bb982b20518ed22582a Mon Sep 17 00:00:00 2001 From: Yevhen Pavlov Date: Sun, 31 Mar 2024 23:17:34 +0300 Subject: [PATCH] feat: Rename Exit to Quit (#3) --- .DS_Store | Bin 0 -> 6148 bytes internal/tray/tray.go | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e9998b6924c60a35dc8c076f03db1ad4fcbcfe6a GIT binary patch literal 6148 zcmeHK-AcnS6i!@q8AIrW!Y%{e4xF0|hBu|o7qFriDzl|Si?tbR=Pt&e*ZM*}iO=IX zNh%KKt%y4ZlJEQ`%?Hg7V~qQ=_=qu=F(#lPa#Yp`y4QxbY%(IpF`{`siBc7T{bpl- z9q`*77PExqtoZu<(IidsqSJZjTQz5Ur!MNEDQ<%YH4lognB{&ry+-RosWhteFuF{} z^O3uEso1oLv43!Qaz1)YpEC7g2<5=HmR*Y#yn^z%p66hir7F7zUzK0w5fTH$05L!eY%T-# zOc2e@rGQpW3=ji9Fo64mgofx@EDh?d13J7uW86VR0Uh5Gh|;2Gu`~z~5N=8VO)0le z3~tK7FKwP@u{3DP8P_wzICkdh@xt}&;Fmg`anB(2!~ij{%0SJSE}s8q@XM@yH zMGO!F|BM0d41=K$i?V0yx8>nkE1}&%L&3Zf6%f!@E&*WRKGM=b6PKt%o@cQ%h@+ri Rmjlv8Kode8G4Klvd;nW?N@M^4 literal 0 HcmV?d00001 diff --git a/internal/tray/tray.go b/internal/tray/tray.go index 1354b0d..9bd0cca 100644 --- a/internal/tray/tray.go +++ b/internal/tray/tray.go @@ -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 { @@ -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 }