1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-09-16 09:16:26 +02:00

Replace CurrentSideContext() with Context().CurrentSide()

This commit is contained in:
Stefan Haller
2024-08-08 10:29:36 +02:00
parent 7f935c1ea8
commit df3afb1b89
8 changed files with 7 additions and 12 deletions

View File

@@ -57,7 +57,6 @@ type IGuiCommon interface {
RunSubprocess(cmdObj oscommands.ICmdObj) (bool, error)
RunSubprocessAndRefresh(oscommands.ICmdObj) error
CurrentSideContext() Context
CurrentPopupContexts() []Context
IsCurrentContext(Context) bool
// TODO: replace the above context-based methods with just using Context() e.g. replace PushContext() with Context().Push()