mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-03 00:57:52 +02:00
move context keys into context package
This commit is contained in:
@ -8,6 +8,7 @@ import (
|
||||
"math"
|
||||
|
||||
"github.com/jesseduffield/gocui"
|
||||
"github.com/jesseduffield/lazygit/pkg/gui/context"
|
||||
"github.com/jesseduffield/lazygit/pkg/gui/mergeconflicts"
|
||||
"github.com/jesseduffield/lazygit/pkg/gui/types"
|
||||
)
|
||||
@ -287,7 +288,7 @@ func (gui *Gui) refreshMergeState() error {
|
||||
gui.State.Panels.Merging.Lock()
|
||||
defer gui.State.Panels.Merging.Unlock()
|
||||
|
||||
if gui.currentContext().GetKey() != MAIN_MERGING_CONTEXT_KEY {
|
||||
if gui.currentContext().GetKey() != context.MAIN_MERGING_CONTEXT_KEY {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user