diff --git a/pkg/gui/gui_common.go b/pkg/gui/gui_common.go index 3171cba78..32eea569f 100644 --- a/pkg/gui/gui_common.go +++ b/pkg/gui/gui_common.go @@ -25,7 +25,7 @@ func (self *guiCommon) LogCommand(cmdStr string, isCommandLine bool) { } func (self *guiCommon) Refresh(opts types.RefreshOptions) error { - return self.gui.Refresh(opts) + return self.gui.helpers.Refresh.Refresh(opts) } func (self *guiCommon) PostRefreshUpdate(context types.Context) error { diff --git a/pkg/gui/refresh.go b/pkg/gui/refresh.go deleted file mode 100644 index 8861945d3..000000000 --- a/pkg/gui/refresh.go +++ /dev/null @@ -1,9 +0,0 @@ -package gui - -import ( - "github.com/jesseduffield/lazygit/pkg/gui/types" -) - -func (gui *Gui) Refresh(options types.RefreshOptions) error { - return gui.helpers.Refresh.Refresh(options) -}