Get rid of error return value of PostRefreshUpdate and a few related ones

I missed these in https://github.com/jesseduffield/lazygit/pull/3890.
This commit is contained in:
Stefan Haller 2024-10-11 10:53:11 +02:00
parent 53f8249ee1
commit 59a937ee7a
18 changed files with 69 additions and 93 deletions

View file

@ -52,7 +52,8 @@ func (self *PatchBuildingHelper) Reset() error {
}
// refreshing the current context so that the secondary panel is hidden if necessary.
return self.c.PostRefreshUpdate(self.c.Context().Current())
self.c.PostRefreshUpdate(self.c.Context().Current())
return nil
}
func (self *PatchBuildingHelper) RefreshPatchBuildingPanel(opts types.OnFocusOpts) {