mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-27 22:38:09 +02:00
Replace CurrentContext() with Context().Current()
This commit is contained in:
@@ -185,7 +185,7 @@ func (self *ListController) pushContextIfNotFocused() error {
|
||||
}
|
||||
|
||||
func (self *ListController) isFocused() bool {
|
||||
return self.c.CurrentContext().GetKey() == self.context.GetKey()
|
||||
return self.c.Context().Current().GetKey() == self.context.GetKey()
|
||||
}
|
||||
|
||||
func (self *ListController) GetKeybindings(opts types.KeybindingsOpts) []*types.Binding {
|
||||
|
||||
Reference in New Issue
Block a user