summaryrefslogtreecommitdiffstats
path: root/pkg/gui/presentation/tags.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/presentation/tags.go')
-rw-r--r--pkg/gui/presentation/tags.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/gui/presentation/tags.go b/pkg/gui/presentation/tags.go
index 529e34608..4754c4bef 100644
--- a/pkg/gui/presentation/tags.go
+++ b/pkg/gui/presentation/tags.go
@@ -18,9 +18,9 @@ func GetTagListDisplayStrings(tags []*models.Tag, diffName string) [][]string {
// getTagDisplayStrings returns the display string of branch
func getTagDisplayStrings(t *models.Tag, diffed bool) []string {
- attr := theme.DefaultTextColor
+ textStyle := theme.DefaultTextColor
if diffed {
- attr = theme.DiffTerminalColor
+ textStyle = theme.DiffTerminalColor
}
- return []string{attr.Sprint(t.Name)}
+ return []string{textStyle.Sprint(t.Name)}
}