diff --git a/services/bookmark.services.go b/services/bookmark.services.go index 64d3629..3d6f912 100644 --- a/services/bookmark.services.go +++ b/services/bookmark.services.go @@ -115,7 +115,7 @@ func (bs *BookmarkService) replaceIconString() { continue } } - bs.bookmarks.Applications[i].Entries[j].Icon = string(data) + bs.bookmarks.Applications[i].Entries[j].Icon = insertWidthHeight(string(data)) } else { bs.bookmarks.Applications[i].Entries[j].Icon = "" } @@ -157,3 +157,11 @@ func insertColor(svg, color string) string { } return parts[0] + "