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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user