mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Replace CurrentContext() with Context().Current()
This commit is contained in:
@ -293,7 +293,7 @@ func (self *PatchExplorerController) CopySelectedToClipboard() error {
|
||||
}
|
||||
|
||||
func (self *PatchExplorerController) isFocused() bool {
|
||||
return self.c.CurrentContext().GetKey() == self.context.GetKey()
|
||||
return self.c.Context().Current().GetKey() == self.context.GetKey()
|
||||
}
|
||||
|
||||
func (self *PatchExplorerController) withRenderAndFocus(f func() error) func() error {
|
||||
|
Reference in New Issue
Block a user