Skip to content

Commit

Permalink
Use AddSeparator instead of blank menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
psidex committed Apr 10, 2020
1 parent 4419529 commit 7ee3aab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ func onReady() {
}()
}

blank := systray.AddMenuItem("", "")
blank.Disable()
systray.AddSeparator()

QuitBtn := systray.AddMenuItem("Quit", "Quit the whole app")
go func() {
Expand Down

0 comments on commit 7ee3aab

Please sign in to comment.