Skip to content

Commit

Permalink
delete useless check code
Browse files Browse the repository at this point in the history
  • Loading branch information
Fengyalv authored and Chris Cummer committed Jun 13, 2018
1 parent 8cf3636 commit f542164
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ipinfohigherlimit/widget.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit f542164

Please sign in to comment.