mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-10-28 04:14:56 +03:00
refactor
This commit is contained in:
@@ -17,7 +17,7 @@ func (gui *Gui) getViewNameForWindow(window string) string {
|
||||
|
||||
func (gui *Gui) getWindowForViewName(viewName string) string {
|
||||
if viewName == "commitFiles" {
|
||||
return gui.Contexts.CommitFiles.GetWindowName()
|
||||
return gui.State.Contexts.CommitFiles.GetWindowName()
|
||||
}
|
||||
|
||||
return viewName
|
||||
|
||||
Reference in New Issue
Block a user