mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
removed useless condition in Refresh
This commit is contained in:
@@ -100,10 +100,6 @@ func makeMarketCurrency(name string) *mCurrency {
|
||||
|
||||
// Refresh & update after interval time
|
||||
func (widget *Widget) Refresh() {
|
||||
if widget.Disabled() {
|
||||
return
|
||||
}
|
||||
|
||||
widget.updateSummary()
|
||||
widget.UpdateRefreshedAt()
|
||||
widget.display()
|
||||
|
||||
Reference in New Issue
Block a user