1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03: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

@ -28,5 +28,5 @@ func (self *ToggleWhitespaceAction) Call() error {
self.c.GetAppState().IgnoreWhitespaceInDiffView = !self.c.GetAppState().IgnoreWhitespaceInDiffView
self.c.SaveAppStateAndLogError()
return self.c.CurrentSideContext().HandleFocus(types.OnFocusOpts{})
return self.c.Context().CurrentSide().HandleFocus(types.OnFocusOpts{})
}