Continue painting
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { staticAppTitle } from "@/next/app";
|
||||
import { CustomHead } from "@/next/components/Head";
|
||||
import { disableDiskLogs } from "@/next/log";
|
||||
import { logUnhandledErrorsAndRejections } from "@/next/log-web";
|
||||
import { appTitle } from "@/next/app";
|
||||
import { getTheme } from "@ente/shared/themes";
|
||||
import { THEME_COLOR } from "@ente/shared/themes/constants";
|
||||
import { CssBaseline, ThemeProvider } from "@mui/material";
|
||||
@@ -19,7 +19,7 @@ const App: React.FC<AppProps> = ({ Component, pageProps }) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<CustomHead title={appTitle.photos} />
|
||||
<CustomHead title={staticAppTitle} />
|
||||
|
||||
<ThemeProvider theme={getTheme(THEME_COLOR.DARK, "photos")}>
|
||||
<CssBaseline enableColorScheme />
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { clientPackageName, staticAppTitle } from "@/next/app";
|
||||
import { CustomHead } from "@/next/components/Head";
|
||||
import { setupI18n } from "@/next/i18n";
|
||||
import log from "@/next/log";
|
||||
@@ -5,11 +6,7 @@ import {
|
||||
logStartupBanner,
|
||||
logUnhandledErrorsAndRejections,
|
||||
} from "@/next/log-web";
|
||||
import {
|
||||
clientPackageName,
|
||||
staticAppTitle,
|
||||
type BaseAppContextT,
|
||||
} from "@/next/types/app";
|
||||
import type { BaseAppContextT } from "@/next/types/context";
|
||||
import { AppUpdate } from "@/next/types/ipc";
|
||||
import { ensure } from "@/utils/ensure";
|
||||
import { Overlay } from "@ente/shared/components/Container";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { FILE_TYPE } from "@/media/file-type";
|
||||
import { EnteFile } from "@/new/photos/types/file";
|
||||
import { clientPackageNamePhotosDesktop } from "@/next/app";
|
||||
import { ensureElectron } from "@/next/electron";
|
||||
import log from "@/next/log";
|
||||
import { clientPackageNamePhotosDesktop } from "@/next/types/app";
|
||||
import { ComlinkWorker } from "@/next/worker/comlink-worker";
|
||||
import { eventBus, Events } from "@ente/shared/events";
|
||||
import { getToken, getUserID } from "@ente/shared/storage/localStorage/helpers";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { appName } from "@/next/app";
|
||||
import { apiURL } from "@/next/origins";
|
||||
import { appName } from "@/next/types/app";
|
||||
import type {
|
||||
RecoveryKey,
|
||||
TwoFactorRecoveryResponse,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import log from "@/next/log";
|
||||
import type { BaseAppContextT } from "@/next/types/app";
|
||||
import type { BaseAppContextT } from "@/next/types/context";
|
||||
import { ensure } from "@/utils/ensure";
|
||||
import {
|
||||
recoverTwoFactor,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { clientPackageName, isDesktop } from "@/next/app";
|
||||
import { clientPackageHeader } from "@/next/http";
|
||||
import log from "@/next/log";
|
||||
import { accountsAppOrigin, apiURL } from "@/next/origins";
|
||||
import { clientPackageName, isDesktop } from "@/next/types/app";
|
||||
import { TwoFactorAuthorizationResponse } from "@/next/types/credentials";
|
||||
import { ensure } from "@/utils/ensure";
|
||||
import ComlinkCryptoWorker from "@ente/shared/crypto";
|
||||
|
||||
@@ -9,6 +9,6 @@ import { AUTH_PAGES, PHOTOS_PAGES } from "@ente/shared/constants/pages";
|
||||
export const appHomeRoute: string = {
|
||||
accounts: "/passkeys",
|
||||
auth: AUTH_PAGES.AUTH,
|
||||
cast: "/",
|
||||
cast: "/" /* The cast app doesn't use this, this is an arbitrary value. */,
|
||||
photos: PHOTOS_PAGES.GALLERY,
|
||||
}[appName];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { BaseAppContextT } from "@/next/types/app";
|
||||
import type { BaseAppContextT } from "@/next/types/context";
|
||||
|
||||
/**
|
||||
* The default type for pages exposed by this package.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import log from "@/next/log";
|
||||
import { customAPIHost } from "@/next/origins";
|
||||
import type { BaseAppContextT } from "@/next/types/app";
|
||||
import type { BaseAppContextT } from "@/next/types/context";
|
||||
import {
|
||||
checkPasskeyVerificationStatus,
|
||||
passkeySessionExpiredErrorMessage,
|
||||
|
||||
Reference in New Issue
Block a user