mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
Replace CurrentContext() with Context().Current()
This commit is contained in:
parent
8e15451117
commit
7ed94c0410
23 changed files with 24 additions and 29 deletions
|
@ -45,10 +45,6 @@ func (self *guiCommon) RunSubprocess(cmdObj oscommands.ICmdObj) (bool, error) {
|
|||
return self.gui.runSubprocessWithSuspense(cmdObj)
|
||||
}
|
||||
|
||||
func (self *guiCommon) CurrentContext() types.Context {
|
||||
return self.gui.State.ContextMgr.Current()
|
||||
}
|
||||
|
||||
func (self *guiCommon) CurrentStaticContext() types.Context {
|
||||
return self.gui.State.ContextMgr.CurrentStatic()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue