mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
color fixups
This commit is contained in:
@ -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)}
|
||||
}
|
||||
|
Reference in New Issue
Block a user