1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-07 22:02:56 +03:00

Replace CurrentPopupContexts() with Context().CurrentPopup()

This commit is contained in:
Stefan Haller
2024-08-08 10:34:06 +02:00
parent 3a8b97841f
commit f30387e7f5
4 changed files with 2 additions and 6 deletions

View File

@@ -45,10 +45,6 @@ func (self *guiCommon) RunSubprocess(cmdObj oscommands.ICmdObj) (bool, error) {
return self.gui.runSubprocessWithSuspense(cmdObj)
}
func (self *guiCommon) CurrentPopupContexts() []types.Context {
return self.gui.State.ContextMgr.CurrentPopup()
}
func (self *guiCommon) IsCurrentContext(c types.Context) bool {
return self.gui.State.ContextMgr.IsCurrent(c)
}