π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix
Manav Rathiaf8c9a686e9f
diff --git a/web/apps/auth/src/pages/_app.tsx b/web/apps/auth/src/pages/_app.tsxindex 2e634f402d..7ca9717420 100644--- a/web/apps/auth/src/pages/_app.tsx+++ b/web/apps/auth/src/pages/_app.tsx@@ -4,14 +4,10 @@ import {logStartupBanner,logUnhandledErrorsAndRejections,} from "@/next/log-web";-import type { AppName, BaseAppContextT } from "@/next/types/app";+import { appTitle, type AppName, type BaseAppContextT } from "@/next/types/app";import { ensure } from "@/utils/ensure";import { accountLogout } from "@ente/accounts/services/logout";-import {- APPS,- APP_TITLES,- CLIENT_PACKAGE_NAMES,-} from "@ente/shared/apps/constants";+import { APPS, CLIENT_PACKAGE_NAMES } from "@ente/shared/apps/constants";import { Overlay } from "@ente/shared/components/Container";import DialogBoxV2 from "@ente/shared/components/DialogBoxV2";import type { DialogBoxAttributesV2 } from "@ente/shared/components/DialogBoxV2/types";@@ -151,10 +147,9 @@ export default function App({ Component, pageProps }: AppProps) {somethingWentWrong,};- // TODO: Refactor this to have a fallbackconst title = isI18nReady? t("title", { context: "auth" })- : APP_TITLES.get(APPS.AUTH) ?? "";+ : appTitle[appName];return (<>diff --git a/web/apps/photos/src/pages/_app.tsx b/web/apps/photos/src/pages/_app.tsxindex b638d5ce8c..818ee0a501 100644--- a/web/apps/photos/src/pages/_app.tsx+++ b/web/apps/photos/src/pages/_app.tsx@@ -9,11 +9,7 @@ import {import type { AppName, BaseAppContextT } from "@/next/types/app";import { AppUpdate } from "@/next/types/ipc";import { ensure } from "@/utils/ensure";-import {- APPS,- APP_TITLES,- CLIENT_PACKAGE_NAMES,-} from "@ente/shared/apps/constants";+import { APPS, CLIENT_PACKAGE_NAMES } from "@ente/shared/apps/constants";import { Overlay } from "@ente/shared/components/Container";import DialogBox from "@ente/shared/components/DialogBox";import {@@ -363,7 +359,7 @@ export default function App({ Component, pageProps }: AppProps) {const title = isI18nReady? t("title", { context: "photos" })- : APP_TITLES.get(APPS.PHOTOS);+ : appTitle[appName];return (<>