From 55c21ff6a626082de6eeebe1c56c8aae69af50c5 Mon Sep 17 00:00:00 2001 From: mARTin Date: Sun, 5 Apr 2026 12:14:52 +0200 Subject: [PATCH] fix: sidebar toggles now correctly update per-view settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Someday, All-day, Checkboxes, Project-Icons, and Weather toggles in the left quick-settings panel were calling saveSetting() (global profile PATCH) instead of saveViewSetting(..., true) (per-view override). getEffective() checks the per-view override first, so whenever a per-view setting existed (set via the settings modal) the global update was silently ignored and the toggle appeared broken. All five toggles now call saveViewSetting(key, !value, true) which updates viewSettings[currentView][key] directly — matching exactly what the settings modal's view-tab checkboxes do. v1.83.1 --- package.json | 2 +- src/components/WeeklyView.tsx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 0611550..4e05098 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.83.0", + "version": "1.83.1", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "main": "index.js", "scripts": { diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index cc1b025..a10e7d6 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -5547,32 +5547,32 @@ export default function WeeklyView() { {/* Toggle switches */}
{profile.language === "de" ? "Irgendwann" : "Someday"} -
{profile.language === "de" ? "Ganztägig" : "All-day"} -
{profile.language === "de" ? "Checkboxen" : "Checkboxes"} -
{profile.language === "de" ? "Projekt-Icons" : "Project Icons"} -
{(profile.weatherLat || profile.weatherLon) && (
{profile.language === "de" ? "Wetter" : "Weather"} -