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

Fix a bug with subreddit module row colour

Even and odd rows now display as different colours when row colour is
explicitly defined in the module config.
This commit is contained in:
Chris Cummer
2019-10-02 05:37:31 -07:00
parent 8290988213
commit ca0345a0b4
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ func (widget *Widget) contentFrom(onCalls []pagerduty.OnCall, incidents []pagerd
sort.Strings(keys)
if len(keys) > 0 {
str += "\n[red] Schedules[white]\n"
str += "[red] Schedules[white]\n"
// Print out policies, and escalation order of users
for _, key := range keys {
str += fmt.Sprintf("\n [green::b]%s\n", key)