1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-23 22:24:51 +02:00

Remove some unused code

This commit is contained in:
Stefan Haller
2025-07-08 15:14:45 +02:00
parent 5587d70ec9
commit 28bb6a0e80
3 changed files with 0 additions and 33 deletions

View File

@@ -13,14 +13,6 @@ func (gui *Gui) contextTree() *context.ContextTree {
return context.NewContextTree(contextCommon)
}
// using this wrapper for when an onFocus function doesn't care about any potential
// props that could be passed
func OnFocusWrapper(f func() error) func(opts types.OnFocusOpts) error {
return func(opts types.OnFocusOpts) error {
return f()
}
}
func (gui *Gui) defaultSideContext() types.Context {
if gui.State.Modes.Filtering.Active() {
return gui.State.Contexts.LocalCommits