diff options
author | mjarkk <mkopenga@gmail.com> | 2018-12-08 16:40:22 +0100 |
---|---|---|
committer | mjarkk <mkopenga@gmail.com> | 2018-12-08 16:40:22 +0100 |
commit | 270658fc009dc254a80501fc1c9f5f82acd27239 (patch) | |
tree | c3cefd8707324ca576bb27dae6b88158dac801b3 /pkg/gui | |
parent | cf5a85b80fcd4bdcd186f0cd00b89b30b2bcad72 (diff) |
Made code ready to merge to master's latest commit
Diffstat (limited to 'pkg/gui')
-rw-r--r-- | pkg/gui/files_panel.go | 3 | ||||
-rw-r--r-- | pkg/gui/gui.go | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index 6b52970c3..cd8df1859 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -416,8 +416,7 @@ func (gui *Gui) pushWithForceFlag(g *gocui.Gui, v *gocui.View, force bool) error } if err == nil { _ = gui.closeConfirmationPrompt(g) - _ = gui.refreshCommits(g) - _ = gui.refreshStatus(g) + _ = gui.refreshSidePanels(g) } }() return nil diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 44c63abe1..70e61c8d5 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -463,7 +463,7 @@ func (gui *Gui) Run() error { }) } }() - gui.goEvery(g, time.Second*10, gui.refreshFiles) + gui.goEvery(g, time.Second*2, gui.refreshFiles) gui.goEvery(g, time.Millisecond*50, gui.updateLoader) gui.goEvery(g, time.Millisecond*50, gui.renderAppStatus) |