feat(gui): show commit icons

This commit is contained in:
Ryooooooga 2022-04-23 10:41:40 +09:00
parent b07aeda5a6
commit cb13fe7f46
No known key found for this signature in database
GPG key ID: 07CF200DFCC20C25
5 changed files with 34 additions and 10 deletions

View file

@ -28,6 +28,7 @@ import (
"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/presentation/icons"
"github.com/jesseduffield/lazygit/pkg/gui/services/custom_commands"
"github.com/jesseduffield/lazygit/pkg/gui/style"
"github.com/jesseduffield/lazygit/pkg/gui/types"
@ -479,7 +480,7 @@ func NewGui(
gui.c = helperCommon
authors.SetCustomAuthors(gui.UserConfig.Gui.AuthorColors)
presentation.SetShowFileIcon(gui.UserConfig.Gui.ShowIcons)
icons.SetIconEnabled(gui.UserConfig.Gui.ShowIcons)
presentation.SetCustomBranches(gui.UserConfig.Gui.BranchColors)
return gui, nil