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

Fix the Todoist widget title

This commit is contained in:
Chris Cummer 2018-07-28 17:40:13 -07:00
parent 3ce6daee71
commit 749318ead6

View File

@ -16,7 +16,7 @@ func (widget *Widget) display() {
return return
} }
widget.View.SetTitle(fmt.Sprintf("%s- [green]%s[white] ", widget.Name, proj.Project.Name)) widget.View.SetTitle(fmt.Sprintf(" [green]%s[white] ", 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"
maxLen := proj.LongestLine() maxLen := proj.LongestLine()