mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Remove return value of CreatePopupPanel
This commit is contained in:
parent
6f0182f11c
commit
b15a1c7ae7
3 changed files with 10 additions and 9 deletions
|
@ -671,8 +671,8 @@ func NewGui(
|
|||
|
||||
gui.PopupHandler = popup.NewPopupHandler(
|
||||
cmn,
|
||||
func(ctx goContext.Context, opts types.CreatePopupPanelOpts) error {
|
||||
return gui.helpers.Confirmation.CreatePopupPanel(ctx, opts)
|
||||
func(ctx goContext.Context, opts types.CreatePopupPanelOpts) {
|
||||
gui.helpers.Confirmation.CreatePopupPanel(ctx, opts)
|
||||
},
|
||||
func() error { return gui.c.Refresh(types.RefreshOptions{Mode: types.ASYNC}) },
|
||||
func() { gui.State.ContextMgr.Pop() },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue