mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-28 16:02:01 +03:00
Replace CurrentContext() with Context().Current()
This commit is contained in:
@ -33,7 +33,7 @@ func (gui *Gui) renderContextOptionsMap() {
|
||||
// to want to press that key. For example, when in cherry-picking mode, we
|
||||
// want to prominently show the keybinding for pasting commits.
|
||||
func (self *OptionsMapMgr) renderContextOptionsMap() {
|
||||
currentContext := self.c.CurrentContext()
|
||||
currentContext := self.c.Context().Current()
|
||||
|
||||
currentContextBindings := currentContext.GetKeybindings(self.c.KeybindingsOpts())
|
||||
globalBindings := self.c.Contexts().Global.GetKeybindings(self.c.KeybindingsOpts())
|
||||
|
Reference in New Issue
Block a user