fix: fixed fucntion to use the new API
This commit is contained in:
1 parent
263f43c05e
commit
8264717136
1 file changed
+1
-1
@@ -380,7 +380,7 @@ function VideoPlayer() {
|
||||
} else if (event.detail === 2){
|
||||
clearTimeout(clickTimeout)
|
||||
setAppFullscreen((state) => {
|
||||
appWindow.setFullscreen(!state)
|
||||
appWindow.getCurrent().setFullscreen(!state);
|
||||
return !state
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user