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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user