Add DashboardIcon (PNG) Support
- Refactored to make better naming sense - Added capability to select between the PNG and SVG offerings of DashboardIcons
This commit is contained in:
parent
d0c4e9d846
commit
d656986413
3 changed files with 21 additions and 7 deletions
|
|
@ -34,7 +34,7 @@ func (widget *Bookmarks) Initialize() error {
|
|||
}
|
||||
|
||||
link := &widget.Groups[g].Links[l]
|
||||
link.Icon, link.IconSource = toRemoteResourceIconIfPrefixed(link.Icon)
|
||||
link.Icon, link.IconSource = toIconURIIfPrefixed(link.Icon)
|
||||
link.IsSimpleIcon = link.IconSource == SimpleIcon
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue