From 8115b54ef92da39de30c1fff64b9040ddcdc8874 Mon Sep 17 00:00:00 2001 From: Don Reece Date: Fri, 4 Nov 2022 15:51:48 -0400 Subject: [PATCH] Adds the option for a bookmark icon (same functionality as service icons). Falls back to abbreviation. Revert "Adds the option for a bookmark icon (same functionality as service icons). Falls back to abbreviation." This reverts commit d7131584442ba5a52823cf0aa6e96c4b5f09141a. Add icons to bookmarks --- src/components/bookmarks/item.jsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/bookmarks/item.jsx b/src/components/bookmarks/item.jsx index b67cffac7..ca5486abe 100644 --- a/src/components/bookmarks/item.jsx +++ b/src/components/bookmarks/item.jsx @@ -1,6 +1,7 @@ import { useContext } from "react"; import { SettingsContext } from "utils/contexts/settings"; +import ResolvedIcon from "components/resolvedicon"; export default function Item({ bookmark }) { const { hostname } = new URL(bookmark.href); @@ -16,6 +17,11 @@ export default function Item({ bookmark }) { >
+ {bookmark.icon && +
+ +
+ } {bookmark.abbr}