From 2786148153b4dc29a98bac2285879fda1432db63 Mon Sep 17 00:00:00 2001 From: zhayujie Date: Mon, 29 Jun 2026 16:33:10 +0800 Subject: [PATCH] fix(desktop): match send button to web --- desktop/src/renderer/src/components/ChatInput.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/desktop/src/renderer/src/components/ChatInput.tsx b/desktop/src/renderer/src/components/ChatInput.tsx index d02fadbf..3d24bb9d 100644 --- a/desktop/src/renderer/src/components/ChatInput.tsx +++ b/desktop/src/renderer/src/components/ChatInput.tsx @@ -1,9 +1,17 @@ import React, { useState, useRef, useCallback, useEffect, forwardRef, useImperativeHandle } from 'react' -import { Plus, Paperclip, Send, Square, X, File as FileIcon, Loader2, Trash2 } from 'lucide-react' +import { Plus, Paperclip, Square, X, File as FileIcon, Loader2, Trash2 } from 'lucide-react' import { t } from '../i18n' import type { Attachment } from '../types' import apiClient from '../api/client' +// Solid paper-plane icon (Font Awesome's fa-paper-plane path) so the send +// button matches the web console exactly. +const PaperPlaneIcon: React.FC<{ size?: number }> = ({ size = 16 }) => ( + +) + export type ChatInputHandle = (text: string, attachments: Attachment[]) => void interface SlashCommand { @@ -382,10 +390,10 @@ const ChatInput = forwardRef(function ChatInput )}