summaryrefslogtreecommitdiffstats
path: root/pkg/gui/modes.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-12-30 13:35:10 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-01-04 09:07:15 +1100
commit66e840bc3f83903852408ed8db0be0c6153b5487 (patch)
tree2e3578e0ceff2fb44b8a7060f87400808eedaef7 /pkg/gui/modes.go
parent5b3572424380418f86df88d201347b54634be530 (diff)
more refactoring
Diffstat (limited to 'pkg/gui/modes.go')
-rw-r--r--pkg/gui/modes.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/modes.go b/pkg/gui/modes.go
index 025767b82..c8e2749e3 100644
--- a/pkg/gui/modes.go
+++ b/pkg/gui/modes.go
@@ -1,7 +1,7 @@
package gui
import (
- "github.com/jesseduffield/lazygit/pkg/commands"
+ "github.com/jesseduffield/lazygit/pkg/commands/types/enums"
"github.com/jesseduffield/lazygit/pkg/gui/style"
)
@@ -61,7 +61,7 @@ func (gui *Gui) modeStatuses() []modeStatus {
},
{
isActive: func() bool {
- return gui.GitCommand.WorkingTreeState() != commands.REBASE_MODE_NONE
+ return gui.GitCommand.WorkingTreeState() != enums.REBASE_MODE_NONE
},
description: func() string {
workingTreeState := gui.GitCommand.WorkingTreeState()