mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 13:30:31 +08:00
Reapply "fix: windows title bar only"
This reverts commit 7e05b8f13b24784b44268be07f3cc59faaa53dfe.
This commit is contained in:
parent
7e05b8f13b
commit
e4f1bab8fb
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user