fix: include dark_mode in save_settings payload (was never written to .env)

This commit is contained in:
dadaloop82
2026-05-22 21:14:16 +00:00
parent cbf4bd54da
commit 02f673a164
+1
View File
@@ -3505,6 +3505,7 @@ async function saveSettings() {
shopping_smart_suggestions: s.shopping_smart_suggestions !== false, shopping_smart_suggestions: s.shopping_smart_suggestions !== false,
shopping_forecast: s.shopping_forecast !== false, shopping_forecast: s.shopping_forecast !== false,
shopping_auto_add_threshold: s.shopping_auto_add_threshold || 0, shopping_auto_add_threshold: s.shopping_auto_add_threshold || 0,
dark_mode: s.dark_mode || 'auto',
}, tokenHeader); }, tokenHeader);
const statusEl = document.getElementById('settings-status'); const statusEl = document.getElementById('settings-status');
if (result.success) { if (result.success) {