mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Handle offline scenarios for OpsGenie
This commit is contained in:
committed by
Chris Cummer
parent
204e3b4032
commit
aa658db210
@@ -37,7 +37,7 @@ func (widget *Widget) Refresh() {
|
||||
|
||||
data := Fetch(Config.UInt("wtf.weather.cityId", 6176823))
|
||||
|
||||
widget.View.SetTitle(fmt.Sprintf(" %s Weather - %s ", icon(data), data.Name))
|
||||
widget.View.SetTitle(fmt.Sprintf(" %s Weather: [green]%s[white] ", icon(data), data.Name))
|
||||
widget.RefreshedAt = time.Now()
|
||||
|
||||
widget.View.Clear()
|
||||
|
||||
Reference in New Issue
Block a user