fix: fixed fucntion to use the new API

This commit is contained in:
Netanel Henya committed 2024-07-20 22:09:22 +03:00
1 parent 263f43c05e
commit 8264717136
1 file changed
+1 -1
+1 -1
View File
@@ -380,7 +380,7 @@ function VideoPlayer() {
} else if (event.detail === 2){
clearTimeout(clickTimeout)
setAppFullscreen((state) => {
appWindow.setFullscreen(!state)
appWindow.getCurrent().setFullscreen(!state);
return !state
});
}