Skip to content

Commit

Permalink
removed unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Mar 16, 2021
1 parent bf7c82d commit 95fd662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (app *app) RefreshAll() {
<-app.pluginsStoppedSignal
}
// remove plugins
if len(app.plugins) == 0 && app.defaultTrayMenuActive {
if app.defaultTrayMenuActive {
// only default menu - remove it
app.runtime.Menu.DeleteTrayMenu(app.defaultTrayMenu)
app.defaultTrayMenuActive = false
Expand Down

0 comments on commit 95fd662

Please sign in to comment.