mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Replace Fprintf calls with SetText calls
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
func (widget *Widget) display(clocks []Clock) {
|
||||
if len(clocks) == 0 {
|
||||
fmt.Fprintf(widget.View, "\n%s", " no timezone data available")
|
||||
widget.View.SetText(fmt.Sprintf("\n%s", " no timezone data available"))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user