From ee8d730a719e2bb3e25fdf0426e7940ebe0d7b78 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Wed, 12 Jun 2024 08:58:36 +0200 Subject: [PATCH] Allow fixed width and height for safari --- services/bookmark.services.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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] + "