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

delete useless check code

This commit is contained in:
FengYa 2018-06-08 14:43:58 +08:00 committed by Chris Cummer
parent 8cf363690d
commit f542164dff

View File

@ -55,13 +55,8 @@ func NewWidget() *Widget {
// Refresh refresh the module
func (widget *Widget) Refresh() {
if widget.Disabled() {
return
}
widget.UpdateRefreshedAt()
widget.ipinfo()
widget.View.SetText(widget.result)
}