fix: include dark_mode in save_settings payload (was never written to .env)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user