From 05a46347684fac47db65b3566a56c17fe8daf311 Mon Sep 17 00:00:00 2001 From: aeoform <2790848120@qq.com> Date: Fri, 29 May 2026 21:36:49 +0800 Subject: [PATCH] fix(linux): move streaming insert toggle into recording card On Linux, hide the clipboard/paste/capsule settings group and move the streaming insert toggle directly into the recording input card. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../pages/settings/RecordingInputSection.tsx | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/openless-all/app/src/pages/settings/RecordingInputSection.tsx b/openless-all/app/src/pages/settings/RecordingInputSection.tsx index aafa832d..d397a137 100644 --- a/openless-all/app/src/pages/settings/RecordingInputSection.tsx +++ b/openless-all/app/src/pages/settings/RecordingInputSection.tsx @@ -215,6 +215,14 @@ export function RecordingInputSection() { + {os === 'linux' && ( + + void savePrefs({ ...prefs, streamingInsert: next })} + /> + + )} {/* ─── 插入与剪贴板(折叠,仅 macOS / Windows) ──────────────── */} @@ -262,18 +270,6 @@ export function RecordingInputSection() { )} - {/* ─── 流式输入(Linux) ────────────────────────────────────────── */} - {os === 'linux' && ( - - - void savePrefs({ ...prefs, streamingInsert: next })} - /> - - - )} - {/* ─── 启动(折叠) ──────────────────────────────────────────── */}