From e4f1bab8fb880b75022478b24fa81c18f5f9db56 Mon Sep 17 00:00:00 2001 From: Slinetrac Date: Fri, 10 Oct 2025 08:22:31 +0800 Subject: [PATCH] Reapply "fix: windows title bar only" This reverts commit 7e05b8f13b24784b44268be07f3cc59faaa53dfe. --- src/pages/_layout.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/_layout.tsx b/src/pages/_layout.tsx index ebdff0ca..e109f0c0 100644 --- a/src/pages/_layout.tsx +++ b/src/pages/_layout.tsx @@ -193,6 +193,8 @@ const Layout = () => { decorated, "| showing:", !decorated, + "| theme mode:", + mode, ); if (!decorated) { return ( @@ -202,7 +204,7 @@ const Layout = () => { ); } return null; - }, [decorated]); + }, [decorated, mode]); useEffect(() => { setThemeReady(true);