diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-27 20:08:10 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-27 20:08:10 +1000 |
commit | 96eef7838ee0402ada15a9509a7f08a811b81cd3 (patch) | |
tree | 9b413fc5eb6775ffcafd29933f7aa4594def6ca4 /pkg/gui/status_panel.go | |
parent | 2bf536265a8978b635330eeb61bc598d32fab62f (diff) |
better auto update logic
Diffstat (limited to 'pkg/gui/status_panel.go')
-rw-r--r-- | pkg/gui/status_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/status_panel.go b/pkg/gui/status_panel.go index 52842246e..a9dee6a7f 100644 --- a/pkg/gui/status_panel.go +++ b/pkg/gui/status_panel.go @@ -50,8 +50,8 @@ func (gui *Gui) renderStatusOptions(g *gocui.Gui) error { } func (gui *Gui) handleCheckForUpdate(g *gocui.Gui, v *gocui.View) error { - gui.Updater.CheckForNewUpdate(gui.onUpdateCheckFinish, true) - return gui.createMessagePanel(gui.g, v, "Checking for updates", "Checking for updates...") + gui.Updater.CheckForNewUpdate(gui.onUserUpdateCheckFinish, true) + return gui.createMessagePanel(gui.g, v, "", gui.Tr.SLocalize("CheckingForUpdates")) } func (gui *Gui) handleStatusSelect(g *gocui.Gui, v *gocui.View) error { |