From 0e5aa401ef70b82ad89dd6c40e8ea00b9b996005 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 2 Feb 2026 16:44:08 +0200 Subject: [PATCH] chore(mobile/note_icon): redundant separator --- apps/client/src/widgets/note_icon.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/client/src/widgets/note_icon.tsx b/apps/client/src/widgets/note_icon.tsx index 5cc97d5c1f..bc4094439e 100644 --- a/apps/client/src/widgets/note_icon.tsx +++ b/apps/client/src/widgets/note_icon.tsx @@ -172,7 +172,6 @@ function FilterRow({ note, filterByPrefix, search, setSearch, setFilterByPrefix, onHide: () => void; }) { const searchBoxRef = useRef(null); - const hasIconPacks = glob.iconRegistry.sources.length > 0; const hasCustomIcon = getIconLabels(note).length > 0; function resetToDefaultIcon() { @@ -212,7 +211,7 @@ function FilterRow({ note, filterByPrefix, search, setSearch, setFilterByPrefix, )} - {hasIconPacks && - {hasIconPacks && <> + {hasCustomIcon && <> setFilterByPrefix("bx")} >{t("note_icon.filter-default")} - + {glob.iconRegistry.sources.length > 1 && } {glob.iconRegistry.sources.map(({ prefix, name, icon }) => ( prefix !== "bx" &&