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

A ton of cleanup around how config is handled and go rountines are executed

This commit is contained in:
Chris Cummer
2018-04-04 18:02:59 -07:00
committed by Chris Cummer
parent dd51994d8d
commit 71f8fc789f
13 changed files with 99 additions and 30 deletions

View File

@@ -27,7 +27,6 @@ func NewWidget() *Widget {
}
widget.addView()
go wtf.Refresh(&widget)
return &widget
}
@@ -35,7 +34,7 @@ func NewWidget() *Widget {
/* -------------------- Exported Functions -------------------- */
func (widget *Widget) Refresh() {
widget.View.SetTitle(" JIRA ")
widget.View.SetTitle(fmt.Sprintf(" %s ", widget.Name))
widget.RefreshedAt = time.Now()
widget.View.Clear()