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

Return when weather data cannot be read

This commit is contained in:
Chris Cummer
2018-04-16 06:26:04 -07:00
committed by Chris Cummer
parent 6321182b7e
commit 6b4c7a7f5d
2 changed files with 4 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ func (widget *Widget) Refresh() {
return
}
// FIXME: Use two calls to wtf.RightAlign here and get rid of this code duplication
_, _, w, _ := widget.View.GetInnerRect()
widget.View.Clear()