diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 9e68741..43425a4 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -255,12 +255,6 @@ export function App() { refreshUnreads, } = useUnreadCounts(channels, contacts, activeConversation); - useEffect(() => { - if (showSettings && !config && settingsSection === 'radio') { - setSettingsSection('local'); - } - }, [config, settingsSection, setSettingsSection, showSettings]); - useEffect(() => { if (activeConversation?.type !== 'channel') { setChannelUnreadMarker(null); @@ -573,7 +567,6 @@ export function App() { settingsSection={settingsSection} sidebarOpen={sidebarOpen} showCracker={showCracker} - disabledSettingsSections={config ? [] : ['radio']} onSettingsSectionChange={setSettingsSection} onSidebarOpenChange={setSidebarOpen} onCrackerRunningChange={setCrackerRunning} diff --git a/frontend/src/components/SettingsModal.tsx b/frontend/src/components/SettingsModal.tsx index 117d100..616b796 100644 --- a/frontend/src/components/SettingsModal.tsx +++ b/frontend/src/components/SettingsModal.tsx @@ -155,13 +155,11 @@ export function SettingsModal(props: SettingsModalProps) { const renderSectionHeader = (section: SettingsSection): ReactNode => { if (!showSectionButton) return null; const Icon = SETTINGS_SECTION_ICONS[section]; - const disabled = section === 'radio' && !config; return (