Rename Stocks to Markets
Also fix bug that would remove markets if a network request failed and not show them again until Glance was restarted
This commit is contained in:
parent
d2f5dbbc26
commit
1bebb88d0e
9 changed files with 74 additions and 68 deletions
|
|
@ -33,8 +33,8 @@ func New(widgetType string) (Widget, error) {
|
|||
return &Releases{}, nil
|
||||
case "videos":
|
||||
return &Videos{}, nil
|
||||
case "stocks":
|
||||
return &Stocks{}, nil
|
||||
case "markets", "stocks":
|
||||
return &Markets{}, nil
|
||||
case "reddit":
|
||||
return &Reddit{}, nil
|
||||
case "rss":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue