mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Remove call to Render()
As far as I can tell, this is not needed. The call to Refresh at the end of
backgroundFetch takes care of redrawing after refreshing.
The call was added in 2fc1498517
, that's a long time ago, and we had multiple
big refactorings since then. Maybe it was needed back then but no longer is
today.
This commit is contained in:
@ -76,9 +76,7 @@ func (self *BackgroundRoutineMgr) startBackgroundFetch() {
|
|||||||
self.gui.waitForIntro.Wait()
|
self.gui.waitForIntro.Wait()
|
||||||
|
|
||||||
fetch := func() error {
|
fetch := func() error {
|
||||||
err := self.backgroundFetch()
|
return self.backgroundFetch()
|
||||||
self.gui.c.Render()
|
|
||||||
return err
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// We want an immediate fetch at startup, and since goEvery starts by
|
// We want an immediate fetch at startup, and since goEvery starts by
|
||||||
|
Reference in New Issue
Block a user