Improved native options.

This commit is contained in:
Paul
2021-08-01 14:22:08 +01:00
parent 5c100b212e
commit 0ff6d0ca90
6 changed files with 292 additions and 75 deletions

View File

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