Fix: Fullscreen view switches back to windowed view when clicking element in library #137

This commit is contained in:
Prayag Prajapati committed 2023-08-11 22:12:07 +05:30
1 parent 8f8d3f2ec3
commit 7a7e5b3751
5 files changed
+78 -7

No files matched your search

+6 -1
View File
@@ -249,7 +249,12 @@ export const VideoPlayer = () => {
}}
>
<Toolbar>
<IconButton onClick={() => navigate(-1)}>
<IconButton
onClick={async () => {
await appWindow.setFullscreen(false);
navigate(-1);
}}
>
<MdiArrowLeft />
</IconButton>
<Typography ml={2} variant="h6">