More updates to player and fixed some ui stuff

This commit is contained in:
prayag17 committed 2023-05-26 15:16:30 +05:30
1 parent 3c058928cb
commit 19ff2af29b
9 files changed
+112 -21

No files matched your search

+7 -1
View File
@@ -1,6 +1,8 @@
/** @format */
import React, { useState } from "react";
import React, { useState, useEffect } from "react";
import { appWindow } from "@tauri-apps/api/window";
import Konami from "react-konami-code";
// @ts-ignore
@@ -272,6 +274,10 @@ function App() {
setEasterEgg(true);
};
useEffect(() => {
appWindow.setFullscreen(false);
}, [location]);
return (
<SnackbarProvider maxSnack={5}>
<ThemeProvider theme={theme}>