mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
pkg/gui: Show notification popup when update was successful
Show a proper notification popup once an update has been installed successfully so the user knows we're done (so far a popup is only shown if an error occurred). The popup also reminds him to restart lazygit for the changes to take effect.
This commit is contained in:
committed by
Jesse Duffield
parent
b7079634ee
commit
f2fb6453a1
@@ -68,7 +68,7 @@ func (gui *Gui) onUpdateFinish(statusId int, err error) error {
|
||||
)
|
||||
return gui.c.ErrorMsg(errMessage)
|
||||
}
|
||||
return nil
|
||||
return gui.c.Alert(gui.Tr.UpdateCompletedTitle, gui.Tr.UpdateCompleted)
|
||||
})
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user