summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/helpers/update_helper.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/controllers/helpers/update_helper.go')
-rw-r--r--pkg/gui/controllers/helpers/update_helper.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/gui/controllers/helpers/update_helper.go b/pkg/gui/controllers/helpers/update_helper.go
index a9a49f0f4..ea9be8f16 100644
--- a/pkg/gui/controllers/helpers/update_helper.go
+++ b/pkg/gui/controllers/helpers/update_helper.go
@@ -18,7 +18,7 @@ func NewUpdateHelper(c *HelperCommon, updater *updates.Updater) *UpdateHelper {
}
}
-func (self *UpdateHelper) CheckForUpdateInBackground() error {
+func (self *UpdateHelper) CheckForUpdateInBackground() {
self.updater.CheckForNewUpdate(func(newVersion string, err error) error {
if err != nil {
// ignoring the error for now so that I'm not annoying users
@@ -34,8 +34,6 @@ func (self *UpdateHelper) CheckForUpdateInBackground() error {
}
return self.showUpdatePrompt(newVersion)
}, false)
-
- return nil
}
func (self *UpdateHelper) CheckForUpdateInForeground() error {