1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

color fixups

This commit is contained in:
Jesse Duffield
2021-08-01 16:02:49 +10:00
parent 123d624141
commit d626bcac00
10 changed files with 28 additions and 27 deletions

View File

@ -18,9 +18,9 @@ func GetStashEntryListDisplayStrings(stashEntries []*models.StashEntry, diffName
// getStashEntryDisplayStrings returns the display string of branch
func getStashEntryDisplayStrings(s *models.StashEntry, diffed bool) []string {
attr := theme.DefaultTextColor
textStyle := theme.DefaultTextColor
if diffed {
attr = theme.DiffTerminalColor
textStyle = theme.DiffTerminalColor
}
return []string{attr.Sprint(s.Name)}
return []string{textStyle.Sprint(s.Name)}
}