mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-10-23 17:48:30 +03:00
refactor contexts code
This commit is contained in:
@@ -3,7 +3,6 @@ package gui
|
||||
import (
|
||||
"github.com/jesseduffield/lazygit/pkg/commands/models"
|
||||
"github.com/jesseduffield/lazygit/pkg/gui/controllers"
|
||||
"github.com/jesseduffield/lazygit/pkg/gui/popup"
|
||||
"github.com/jesseduffield/lazygit/pkg/gui/types"
|
||||
)
|
||||
|
||||
@@ -90,7 +89,7 @@ func (gui *Gui) CheckoutReflogCommit() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
err := gui.c.Ask(popup.AskOpts{
|
||||
err := gui.c.Ask(types.AskOpts{
|
||||
Title: gui.c.Tr.LcCheckoutCommit,
|
||||
Prompt: gui.c.Tr.SureCheckoutThisCommit,
|
||||
HandleConfirm: func() error {
|
||||
|
||||
Reference in New Issue
Block a user