summaryrefslogtreecommitdiffstats
path: root/pkg/gui/updates.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/updates.go')
-rw-r--r--pkg/gui/updates.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/gui/updates.go b/pkg/gui/updates.go
index f3dc14b1d..83642a81a 100644
--- a/pkg/gui/updates.go
+++ b/pkg/gui/updates.go
@@ -4,11 +4,11 @@ import (
"fmt"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazygit/pkg/gui/popup"
+ "github.com/jesseduffield/lazygit/pkg/gui/types"
)
func (gui *Gui) showUpdatePrompt(newVersion string) error {
- return gui.c.Ask(popup.AskOpts{
+ return gui.c.Ask(types.AskOpts{
Title: "New version available!",
Prompt: fmt.Sprintf("Download version %s? (enter/esc)", newVersion),
HandleConfirm: func() error {
@@ -65,7 +65,7 @@ func (gui *Gui) onUpdateFinish(statusId int, err error) error {
}
func (gui *Gui) createUpdateQuitConfirmation() error {
- return gui.c.Ask(popup.AskOpts{
+ return gui.c.Ask(types.AskOpts{
Title: "Currently Updating",
Prompt: "An update is in progress. Are you sure you want to quit?",
HandleConfirm: func() error {