Move update indicator to titlebar on desktop.

This commit is contained in:
Paul
2021-08-01 17:52:44 +01:00
parent c32826e157
commit 4d194ba31a
6 changed files with 32 additions and 27 deletions

View File

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