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:
@ -12,7 +12,7 @@ type OptionsMenuAction struct {
|
||||
}
|
||||
|
||||
func (self *OptionsMenuAction) Call() error {
|
||||
ctx := self.c.CurrentContext()
|
||||
ctx := self.c.Context().Current()
|
||||
// Don't show menu while displaying popup.
|
||||
if ctx.GetKind() == types.PERSISTENT_POPUP || ctx.GetKind() == types.TEMPORARY_POPUP {
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user