summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authorMatt Cles <matthew@cles.dev>2022-01-31 21:23:55 -0800
committerJesse Duffield <jessedduffield@gmail.com>2022-02-01 18:55:45 +1100
commit9adf4a190864fd0c6a3b00ef46f23e93b0e6a5f5 (patch)
tree8fac4c192259f733d8861ae868b9f40ffca39f50 /pkg/gui/gui.go
parent4df76466542441bceb6ebbb21a0730c5ea97e620 (diff)
Add shared function for loading map of custom colors
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index c0cb9692c..e5bcd3c88 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -24,8 +24,8 @@ import (
"github.com/jesseduffield/lazygit/pkg/gui/modes/cherrypicking"
"github.com/jesseduffield/lazygit/pkg/gui/modes/diffing"
"github.com/jesseduffield/lazygit/pkg/gui/modes/filtering"
- "github.com/jesseduffield/lazygit/pkg/gui/presentation/authors"
"github.com/jesseduffield/lazygit/pkg/gui/presentation"
+ "github.com/jesseduffield/lazygit/pkg/gui/presentation/authors"
"github.com/jesseduffield/lazygit/pkg/gui/presentation/graph"
"github.com/jesseduffield/lazygit/pkg/gui/style"
"github.com/jesseduffield/lazygit/pkg/gui/types"
@@ -493,7 +493,7 @@ func NewGui(
gui.PopupHandler = &RealPopupHandler{gui: gui}
authors.SetCustomAuthors(gui.UserConfig.Gui.AuthorColors)
- presentation.SetCustomBranchColors(gui.UserConfig.Gui.BranchColors)
+ presentation.SetCustomBranches(gui.UserConfig.Gui.BranchColors)
return gui, nil
}