1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Fix broken gCal title

Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
Chris Cummer 2020-05-15 01:39:11 -07:00
parent cda15e841b
commit e43c37cc07

View File

@ -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)),
)
@ -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",