1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-25 22:32:13 +02:00

Replace CurrentStaticContext() with Context().CurrentStatic()

This commit is contained in:
Stefan Haller
2024-08-08 10:28:34 +02:00
parent 7ed94c0410
commit 7f935c1ea8
9 changed files with 10 additions and 15 deletions

View File

@@ -119,7 +119,7 @@ func (gui *Gui) handlePrevTab() error {
func getTabbedView(gui *Gui) *gocui.View {
// It safe assumption that only static contexts have tabs
context := gui.c.CurrentStaticContext()
context := gui.c.Context().CurrentStatic()
view, _ := gui.g.View(context.GetViewName())
return view
}