diff --git a/src/routes/_api/player/index.tsx b/src/routes/_api/player/index.tsx index 6de5f78..63cbfa5 100644 --- a/src/routes/_api/player/index.tsx +++ b/src/routes/_api/player/index.tsx @@ -380,7 +380,7 @@ function VideoPlayer() { } else if (event.detail === 2){ clearTimeout(clickTimeout) setAppFullscreen((state) => { - appWindow.setFullscreen(!state) + appWindow.getCurrent().setFullscreen(!state); return !state }); }