Move titlebar.

This commit is contained in:
Paul
2021-08-01 18:11:18 +01:00
parent 60d09ce747
commit 0c0dac598e
4 changed files with 55 additions and 51 deletions

View File

@@ -8,8 +8,6 @@ import { CheckAuth } from "../context/revoltjs/CheckAuth";
import Masks from "../components/ui/Masks";
import Preloader from "../components/ui/Preloader";
import { Titlebar } from "../components/native/Titlebar";
const Login = lazy(() => import("./login/Login"));
const RevoltApp = lazy(() => import("./RevoltApp"));
@@ -17,9 +15,6 @@ export function App() {
return (
<Context>
<Masks />
{window.isNative && !window.native.getConfig().frame && (
<Titlebar />
)}
{/*
// @ts-expect-error */}
<Suspense fallback={<Preloader type="spinner" />}>