mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 05:20:28 +08:00
fix: windows title bar only
This commit is contained in:
parent
a80bc10719
commit
d18b98304b
@ -187,6 +187,8 @@ const Layout = () => {
|
||||
decorated,
|
||||
"| showing:",
|
||||
!decorated,
|
||||
"| theme mode:",
|
||||
mode,
|
||||
);
|
||||
if (!decorated) {
|
||||
return (
|
||||
@ -196,7 +198,7 @@ const Layout = () => {
|
||||
);
|
||||
}
|
||||
return null;
|
||||
}, [decorated]);
|
||||
}, [decorated, mode]);
|
||||
|
||||
useEffect(() => {
|
||||
setThemeReady(true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user