More updates to player and fixed some ui stuff
This commit is contained in:
9 files changed
+112
-21
No files matched your search
+7
-1
@@ -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}>
|
||||
|
||||
Reference in new issue
Block a user