diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-30 10:40:48 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | f97de692e32be50a54a93b75d3686da0495275cb (patch) | |
tree | 45a65ffb90d6c3897cd554f9551082e7466467fc /pkg/gui/diffing.go | |
parent | 2692637fbeac353d805399dd97714c235f88f303 (diff) |
move helpers into their own struct
Diffstat (limited to 'pkg/gui/diffing.go')
-rw-r--r-- | pkg/gui/diffing.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/diffing.go b/pkg/gui/diffing.go index 3977e6b45..98833dfee 100644 --- a/pkg/gui/diffing.go +++ b/pkg/gui/diffing.go @@ -128,7 +128,7 @@ func (gui *Gui) handleCreateDiffingMenuPanel() error { OnPress: func() error { return gui.c.Prompt(types.PromptOpts{ Title: gui.c.Tr.LcEnteRefName, - FindSuggestionsFunc: gui.suggestionsHelper.GetRefsSuggestionsFunc(), + FindSuggestionsFunc: gui.helpers.suggestions.GetRefsSuggestionsFunc(), HandleConfirm: func(response string) error { gui.State.Modes.Diffing.Ref = strings.TrimSpace(response) return gui.c.Refresh(types.RefreshOptions{Mode: types.ASYNC}) |