From e9ad2d336cde0dea5dd4de1325abf028a6fb0a74 Mon Sep 17 00:00:00 2001 From: QQ Date: Wed, 18 Nov 2026 08:19:19 +0800 Subject: [PATCH] Import packages/plugin/src/client/fast-mode-switches.ts --- packages/plugin/src/client/fast-mode-switches.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/plugin/src/client/fast-mode-switches.ts b/packages/plugin/src/client/fast-mode-switches.ts index ab0b6b3..5bdfd28 100644 --- a/packages/plugin/src/client/fast-mode-switches.ts +++ b/packages/plugin/src/client/fast-mode-switches.ts @@ -82,11 +82,13 @@ export function createFastModeSwitches(React: ClientReact) { }) { return React.createElement('div', { className: props.className ?? 'dshRemoteFastModeSwitches', - }, TOGGLE_ORDER.map(key => React.createElement(RemoteToggleSwitch, { - key, - control: props.control, - t: props.t, - configKey: key, - }))) + }, + React.createElement('span', { className: 'dshRemoteFastModeGroupTitle' }, props.t('fastModeGroupTitle')), + TOGGLE_ORDER.map(key => React.createElement(RemoteToggleSwitch, { + key, + control: props.control, + t: props.t, + configKey: key, + }))) } }