diff --git a/web/apps/photos/src/pages/_app.tsx b/web/apps/photos/src/pages/_app.tsx index 65698704e4..f136069827 100644 --- a/web/apps/photos/src/pages/_app.tsx +++ b/web/apps/photos/src/pages/_app.tsx @@ -40,7 +40,7 @@ import type { User } from "@ente/shared/user/types"; import "@fontsource-variable/inter"; import ArrowForwardIcon from "@mui/icons-material/ArrowForward"; import { CssBaseline } from "@mui/material"; -import { ThemeProvider } from "@mui/material/styles"; +import { styled, ThemeProvider } from "@mui/material/styles"; import { useNotification } from "components/utils/hooks-app"; import { t } from "i18next"; import type { AppProps } from "next/app"; @@ -186,6 +186,7 @@ const App: React.FC = ({ Component, pageProps }) => { + {isDesktop && } {!isI18nReady ? ( @@ -203,6 +204,12 @@ const App: React.FC = ({ Component, pageProps }) => { export default App; +const WindowTitlebar = styled("div")` + width: 100%; + min-height: 30px; + display: flex; +`; + const redirectToFamilyPortal = () => void getFamilyPortalRedirectURL().then((url) => { window.location.href = url;