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

Replace ActivateContext() with Context().Activate()

This commit is contained in:
Stefan Haller
2024-08-08 10:42:40 +02:00
parent 41f41ee4ee
commit d570552206
4 changed files with 2 additions and 7 deletions

View File

@@ -60,8 +60,6 @@ type IGuiCommon interface {
Context() IContextMgr
ContextForKey(key ContextKey) Context
ActivateContext(context Context) error
GetConfig() config.AppConfigurer
GetAppState() *config.AppState
SaveAppState() error

View File

@@ -279,6 +279,7 @@ type IContextMgr interface {
Push(context Context, opts ...OnFocusOpts) error
Pop() error
Replace(context Context) error
Activate(context Context, opts OnFocusOpts) error
Current() Context
CurrentStatic() Context
CurrentSide() Context