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

more removing of g and v

This commit is contained in:
Jesse Duffield
2020-08-15 17:01:43 +10:00
parent 63e6eea9ec
commit 15229bbdab
11 changed files with 44 additions and 50 deletions

View File

@ -56,8 +56,8 @@ func (gui *Gui) handleCommitClose(g *gocui.Gui, v *gocui.View) error {
return gui.switchFocus(v, gui.getFilesView())
}
func (gui *Gui) handleCommitFocused(g *gocui.Gui, v *gocui.View) error {
if _, err := g.SetViewOnTop("commitMessage"); err != nil {
func (gui *Gui) handleCommitFocused() error {
if _, err := gui.g.SetViewOnTop("commitMessage"); err != nil {
return err
}