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:
committed by
Chris Cummer
parent
32b395a19e
commit
fb637700b1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user