From 5717d495c5061e0b0252ee59d469a5de41b6a2bd Mon Sep 17 00:00:00 2001 From: Innei Date: Thu, 25 Sep 2025 15:44:32 +0800 Subject: [PATCH] fix(ai-chat): update icon in context menu for reference date - Replaced the icon for the reference date in the `ContextMenuContent` component from `i-mgc-calendar-time-add-cute-re` to `i-mgc-calendar-time-add-cute-fi`, ensuring the correct visual representation. - Added a new SVG icon file for `i-mgc-calendar-time-add-cute-fi` to the icons directory. These changes aim to improve the accuracy of the context menu's visual elements in the AI chat interface. Signed-off-by: Innei --- .../ai-chat/components/context-bar/menus/ContextMenuContent.tsx | 2 +- icons/mgc/calendar_time_add_cute_fi.svg | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 icons/mgc/calendar_time_add_cute_fi.svg diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/components/context-bar/menus/ContextMenuContent.tsx b/apps/desktop/layer/renderer/src/modules/ai-chat/components/context-bar/menus/ContextMenuContent.tsx index 8631ce5b7..c87e521c0 100644 --- a/apps/desktop/layer/renderer/src/modules/ai-chat/components/context-bar/menus/ContextMenuContent.tsx +++ b/apps/desktop/layer/renderer/src/modules/ai-chat/components/context-bar/menus/ContextMenuContent.tsx @@ -79,7 +79,7 @@ export const ContextMenuContent: FC = () => { {/* Reference Date */} - + Reference Date diff --git a/icons/mgc/calendar_time_add_cute_fi.svg b/icons/mgc/calendar_time_add_cute_fi.svg new file mode 100644 index 000000000..47b3cbaaf --- /dev/null +++ b/icons/mgc/calendar_time_add_cute_fi.svg @@ -0,0 +1 @@ + \ No newline at end of file