mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Remove complexity from a lot of string display statements
This commit is contained in:
@@ -29,9 +29,9 @@ func (widget *Widget) Refresh() {
|
||||
)
|
||||
|
||||
widget.UpdateRefreshedAt()
|
||||
widget.View.SetTitle(fmt.Sprintf("%s(%d)", widget.Name, len(todayItems)))
|
||||
widget.View.SetTitle(fmt.Sprintf("%s (%d)", widget.Name, len(todayItems)))
|
||||
|
||||
widget.View.SetText(fmt.Sprintf("%s", widget.contentFrom(todayItems)))
|
||||
widget.View.SetText(widget.contentFrom(todayItems))
|
||||
}
|
||||
|
||||
/* -------------------- Unexported Functions -------------------- */
|
||||
|
||||
Reference in New Issue
Block a user