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

Green title back into Todoist widget the way it used to be before I messed it up

This commit is contained in:
Chris Cummer 2018-07-31 11:34:08 -07:00
parent 9d01fc04bd
commit 9ddd514631

View File

@ -16,9 +16,8 @@ func (widget *Widget) display() {
return return
} }
//widget.View.SetTitle(fmt.Sprintf(" [green]%s[white] ", proj.Project.Name)) title := fmt.Sprintf("[green]%s[white]", proj.Project.Name)
widget.View.SetTitle(widget.ContextualTitle(title))
widget.View.SetTitle(widget.ContextualTitle(proj.Project.Name))
str := wtf.SigilStr(len(widget.projects), widget.idx, widget.View) + "\n" str := wtf.SigilStr(len(widget.projects), widget.idx, widget.View) + "\n"