From df5954c8e190fdd42745b31153f392a2adc406ab Mon Sep 17 00:00:00 2001 From: ssdfasd <2156608475@qq.com> Date: Sat, 14 Mar 2026 14:35:09 +0800 Subject: [PATCH] remove unused voice settings from navigation --- ui/src/components/views/SettingsView.tsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ui/src/components/views/SettingsView.tsx b/ui/src/components/views/SettingsView.tsx index e96f403..dce8829 100644 --- a/ui/src/components/views/SettingsView.tsx +++ b/ui/src/components/views/SettingsView.tsx @@ -95,7 +95,6 @@ const pageOrder: SettingsPageSlug[] = [ 'usage', 'skills.installed', 'skills.catalog', - 'voice', ]; function buildRuntimeContext(isDesktop: boolean): SettingsRuntimeContext { @@ -147,8 +146,6 @@ function getSettingsNavIcon(slug: SettingsPageSlug): React.ComponentType<{ class case 'usage': return RiBarChart2Line; - case 'voice': - return RiMicLine; case 'home': return null; default: @@ -434,8 +431,7 @@ export const SettingsView: React.FC = ({ onClose, forceMobile case 'chat': case 'shortcuts': case 'sessions': - case 'notifications': - case 'voice': { + case 'notifications': { const section = openChamberSectionBySlug[slug] ?? 'visual'; return ; } @@ -509,11 +505,6 @@ export const SettingsView: React.FC = ({ onClose, forceMobile )} > {page.title} - {page.slug === 'voice' && ( - - beta - - )}