diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-03 14:54:55 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-10 00:23:01 +1100 |
commit | 4912205adb5e8e245b33b8e0d5581bcf0ec37e8a (patch) | |
tree | 90e28657c0af72cd0a880842f88750c01a32834d /pkg/gui/updates.go | |
parent | 9440dcf9de3214927125693e512cdc941ca4e123 (diff) |
remove viper
WIP
Diffstat (limited to 'pkg/gui/updates.go')
-rw-r--r-- | pkg/gui/updates.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/updates.go b/pkg/gui/updates.go index 70eea92a4..4357de1c1 100644 --- a/pkg/gui/updates.go +++ b/pkg/gui/updates.go @@ -32,7 +32,7 @@ func (gui *Gui) onBackgroundUpdateCheckFinish(newVersion string, err error) erro if newVersion == "" { return nil } - if gui.Config.GetUserConfig().Get("update.method") == "background" { + if gui.Config.GetUserConfig().Update.Method == "background" { gui.startUpdating(newVersion) return nil } |