mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Replace PopContext() with Context().Pop()
This commit is contained in:
parent
bd36b8a95e
commit
98335361fd
11 changed files with 12 additions and 17 deletions
|
@ -45,10 +45,6 @@ func (self *guiCommon) RunSubprocess(cmdObj oscommands.ICmdObj) (bool, error) {
|
|||
return self.gui.runSubprocessWithSuspense(cmdObj)
|
||||
}
|
||||
|
||||
func (self *guiCommon) PopContext() error {
|
||||
return self.gui.State.ContextMgr.Pop()
|
||||
}
|
||||
|
||||
func (self *guiCommon) ReplaceContext(context types.Context) error {
|
||||
return self.gui.State.ContextMgr.Replace(context)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue