diff --git a/components/FileExplorer/FileExplorerIcon.tsx b/components/FileExplorer/FileExplorerIcon.tsx index 01642df..1d750fe 100644 --- a/components/FileExplorer/FileExplorerIcon.tsx +++ b/components/FileExplorer/FileExplorerIcon.tsx @@ -9,6 +9,7 @@ type Props = { hideUnknownStatus?: boolean; unknownStatusConfig?: { icon: string; + lucideIcon?: string; color: string; }; iconFrameMode?: "always" | "never"; @@ -47,6 +48,7 @@ export const FileExplorerIcon: FC = memo( return ( = ({ settings, onChange }) => { } emojiPlaceholder="❓" emojiHint="Type any emoji or text fallback." - lucideValue={settings.unknownStatusIcon} + lucideValue={settings.unknownStatusLucideIcon || ""} onLucideChange={(value) => - onChange("unknownStatusIcon", value) + onChange("unknownStatusLucideIcon", value) } lucidePlaceholder="Choose Lucide icon" lucideHint="Matches the Obsidian toolbar style." diff --git a/components/StatusBar/StatusBar.tsx b/components/StatusBar/StatusBar.tsx index d59e421..2d38f90 100644 --- a/components/StatusBar/StatusBar.tsx +++ b/components/StatusBar/StatusBar.tsx @@ -18,6 +18,7 @@ export type Props = { showIcon: boolean; showText: boolean; icon: string; + lucideIcon?: string; color: string; }; }; @@ -54,6 +55,7 @@ export const StatusBar: FC = ({ {noStatusConfig.showIcon && ( void; unknownStatusConfig: { icon: string; + lucideIcon?: string; color: string; }; } @@ -43,6 +44,7 @@ export const EditorToolbarButton: FC = memo( >