diff options
author | Moritz Haase <Moritz.Haase@bmw.de> | 2022-03-24 13:42:57 +0100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-28 09:13:34 +1100 |
commit | f2fb6453a13d7e609bb8456843e208e8e3e7901a (patch) | |
tree | d26e07d8033717f60580357852e78d6e932f6506 /pkg/gui | |
parent | b7079634ee6b597ab5f8082e2deda2b52d9cc648 (diff) |
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.
Diffstat (limited to 'pkg/gui')
-rw-r--r-- | pkg/gui/updates.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/updates.go b/pkg/gui/updates.go index edc208625..9bfa65720 100644 --- a/pkg/gui/updates.go +++ b/pkg/gui/updates.go @@ -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 |