From ef6c1fce56539679f22fc5813e5e383b069cdae7 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Mon, 28 Jul 2025 02:30:25 +0200 Subject: [PATCH] Fix local/session storage parsing/stringifying values The old logic stringifyed all values, including strings, which caused problems with reading external stored values (e.g., mui-mode) via the "useStorage" hook. --- index.html | 5 +++-- src/lib/storage/AppStorage.ts | 5 +++-- src/modules/core/hooks/useStorage.tsx | 24 ++++++++++++++++----- src/modules/settings/screens/Appearance.tsx | 2 +- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 9b5f2b73..3198a3fb 100644 --- a/index.html +++ b/index.html @@ -30,10 +30,11 @@