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){
|
} else if (event.detail === 2){
|
||||||
clearTimeout(clickTimeout)
|
clearTimeout(clickTimeout)
|
||||||
setAppFullscreen((state) => {
|
setAppFullscreen((state) => {
|
||||||
appWindow.setFullscreen(!state)
|
appWindow.getCurrent().setFullscreen(!state);
|
||||||
return !state
|
return !state
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user