From 42f2014936ec0cf860e684f5376dda47f99c0303 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 5 May 2025 20:43:40 +0200 Subject: [PATCH] Disable public mode by default --- moneymgr_web/src/hooks/context_providers/PublicModeProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moneymgr_web/src/hooks/context_providers/PublicModeProvider.tsx b/moneymgr_web/src/hooks/context_providers/PublicModeProvider.tsx index 632df61..41fb117 100644 --- a/moneymgr_web/src/hooks/context_providers/PublicModeProvider.tsx +++ b/moneymgr_web/src/hooks/context_providers/PublicModeProvider.tsx @@ -11,7 +11,7 @@ const PublicModeContextK = React.createContext(null); export function PublicModeProvider(p: PropsWithChildren): React.ReactElement { const [enabled, setEnabled] = React.useState( - localStorage.getItem(localStorageKey) !== "false" + localStorage.getItem(localStorageKey) === "true" ); return (