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:
@@ -51,10 +51,6 @@ func NewWidget(app *tview.Application, pages *tview.Pages) *Widget {
|
||||
/* -------------------- Exported Functions -------------------- */
|
||||
|
||||
func (widget *Widget) Refresh() {
|
||||
if widget.Disabled() {
|
||||
return
|
||||
}
|
||||
|
||||
for _, repo := range widget.GithubRepos {
|
||||
repo.Refresh()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user