fix: windows title bar only

This commit is contained in:
Slinetrac
2025-10-09 12:34:36 +08:00
parent a80bc10719
commit d18b98304b

View File

@@ -187,6 +187,8 @@ const Layout = () => {
decorated, decorated,
"| showing:", "| showing:",
!decorated, !decorated,
"| theme mode:",
mode,
); );
if (!decorated) { if (!decorated) {
return ( return (
@@ -196,7 +198,7 @@ const Layout = () => {
); );
} }
return null; return null;
}, [decorated]); }, [decorated, mode]);
useEffect(() => { useEffect(() => {
setThemeReady(true); setThemeReady(true);