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

fixed platform-specific stuff.

Mostly fixed character encoding and stuff.

Signed-off-by: Mike Lloyd <mike@reboot3times.org>
This commit is contained in:
Mike Lloyd
2018-06-03 23:16:40 -06:00
parent 7c03d607cb
commit db43c947b0
9 changed files with 99 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ type Widget struct {
func NewWidget() *Widget {
widget := Widget{
TextWidget: wtf.NewTextWidget(" 👽 BambooHR ", "bamboohr", false),
TextWidget: wtf.NewTextWidget(" BambooHR ", "bamboohr", false),
}
return &widget
@@ -37,7 +37,7 @@ func (widget *Widget) Refresh() {
)
widget.UpdateRefreshedAt()
widget.View.SetTitle(fmt.Sprintf(" 👽 Away (%d) ", len(todayItems)))
widget.View.SetTitle(fmt.Sprintf(" Away (%d) ", len(todayItems)))
widget.View.Clear()
fmt.Fprintf(widget.View, "%s", widget.contentFrom(todayItems))