fix(useConfigStore): align voiceModeEnabled with localStorage

This commit is contained in:
Bohdan Triapitsyn
2026-02-10 01:43:25 +02:00
parent 0a47bc058c
commit f91d048a2b
+3 -3
View File
@@ -537,13 +537,13 @@ export const useConfigStore = create<ConfigStore>()(
} }
return true; return true;
})(), })(),
// Voice mode enabled - load from localStorage or default to true // Voice mode enabled - load from localStorage or default to false
voiceModeEnabled: (() => { voiceModeEnabled: (() => {
if (typeof window !== 'undefined') { if (typeof window !== 'undefined') {
const saved = localStorage.getItem('voiceModeEnabled'); const saved = localStorage.getItem('voiceModeEnabled');
if (saved === 'false') return false; if (saved === 'true') return true;
} }
return true; return false;
})(), })(),
// Summarization settings // Summarization settings
summarizeMessageTTS: (() => { summarizeMessageTTS: (() => {