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

Displays Github review requests and PRs

This commit is contained in:
Chris Cummer
2018-04-05 10:05:05 -07:00
committed by Chris Cummer
parent 32b395a19e
commit fb637700b1
12 changed files with 168 additions and 38 deletions

View File

@@ -99,12 +99,11 @@ func (widget *Widget) dayDivider(event, prevEvent *calendar.Event) string {
}
func (widget *Widget) eventSummary(event *calendar.Event) string {
summary := event.Summary
if widget.eventIsNow(event) {
summary = "🔥 " + summary
return fmt.Sprintf("%s %s", Config.UString("wtf.gcal.currentIcon", "🔸"), event.Summary)
}
return summary
return event.Summary
}
func (widget *Widget) eventTimestamp(event *calendar.Event) string {