mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Replace CurrentSideContext() with Context().CurrentSide()
This commit is contained in:
parent
7f935c1ea8
commit
df3afb1b89
8 changed files with 7 additions and 12 deletions
|
@ -45,10 +45,6 @@ func (self *guiCommon) RunSubprocess(cmdObj oscommands.ICmdObj) (bool, error) {
|
|||
return self.gui.runSubprocessWithSuspense(cmdObj)
|
||||
}
|
||||
|
||||
func (self *guiCommon) CurrentSideContext() types.Context {
|
||||
return self.gui.State.ContextMgr.CurrentSide()
|
||||
}
|
||||
|
||||
func (self *guiCommon) CurrentPopupContexts() []types.Context {
|
||||
return self.gui.State.ContextMgr.PopupContexts()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue