Skip to content

Commit

Permalink
Fix broken gCal title
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Cummer <chriscummer@me.com>
  • Loading branch information
senorprogrammer committed May 15, 2020
1 parent cda15e8 commit e43c37c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gcal/display.go
Expand Up @@ -43,7 +43,7 @@ func (widget *Widget) content() (string, string, bool) {
timestamp = ""
}

title = fmt.Sprintf("[%s]%s",
eventTitle := fmt.Sprintf("[%s]%s",
widget.titleColor(calEvent),
widget.eventSummary(calEvent, calEvent.ConflictsWith(calEvents)),
)
Expand All @@ -53,7 +53,7 @@ func (widget *Widget) content() (string, string, bool) {
widget.dayDivider(calEvent, prevEvent),
widget.responseIcon(calEvent),
timestamp,
title,
eventTitle,
)

str += fmt.Sprintf("%s %s%s\n",
Expand Down

0 comments on commit e43c37c

Please sign in to comment.