1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Remove return value of HandleRender

This commit is contained in:
Stefan Haller
2024-09-04 13:17:33 +02:00
parent 5659f1f3e9
commit b91beb68e1
14 changed files with 25 additions and 40 deletions

View File

@ -131,9 +131,7 @@ func (gui *Gui) postRefreshUpdate(c types.Context) error {
gui.Log.Infof("postRefreshUpdate for %s took %s", c.GetKey(), time.Since(t))
}()
if err := c.HandleRender(); err != nil {
return err
}
c.HandleRender()
if gui.currentViewName() == c.GetViewName() {
if err := c.HandleFocus(types.OnFocusOpts{}); err != nil {