mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Fix a bunch of minor issues found by running staticcheck
Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
@@ -48,7 +48,7 @@ func (widget *Widget) Refresh(wg *sync.WaitGroup) {
|
||||
if len(widget.list.items) != 0 {
|
||||
widget.updateCurrencies()
|
||||
if !ok {
|
||||
widget.Result = fmt.Sprint("Please check your internet connection!")
|
||||
widget.Result = "Please check your internet connection"
|
||||
} else {
|
||||
widget.display()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user