π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Framework
Manav Rathi71a195a4de65
diff --git a/desktop/src/main.ts b/desktop/src/main.tsindex f904152253..3202c8c7cc 100644--- a/desktop/src/main.ts+++ b/desktop/src/main.ts@@ -348,7 +348,16 @@ const createMainWindow = () => {...(bounds ?? {}),// Enforce a minimum size...minimumWindowSize(),- // See: [Note: Customize the desktop title bar]+ // [Note: Customize the desktop title bar]+ //+ // 1. Remove the default title bar.+ // 2. On Linux and Windows, reintroduce the title bar controls (macOS+ // always does it).+ // 3. Show a custom title bar in the renderer using `app-region: drag`+ // to allow dragging the window by the title bar, and using the+ // Window Controls Overlay CSS variables to determine its dimensions.+ //+ // https://www.electronjs.org/docs/latest/tutorial/custom-title-bar#create-a-custom-title-bartitleBarStyle: "hidden",...(process.platform !== "darwin" ? { titleBarOverlay: true } : {}),// The color to show in the window until the web content gets loaded.diff --git a/web/apps/photos/src/pages/_app.tsx b/web/apps/photos/src/pages/_app.tsxindex 45c3162ff0..e4ba439a3d 100644--- a/web/apps/photos/src/pages/_app.tsx+++ b/web/apps/photos/src/pages/_app.tsx@@ -204,6 +204,12 @@ const App: React.FC<AppProps> = ({ Component, pageProps }) => {export default App;+const redirectToFamilyPortal = () =>+ void getFamilyPortalRedirectURL().then((url) => {+ window.location.href = url;+ });++// See: [Note: Customize the desktop title bar]const WindowTitlebar = styled("div")`width: 100%;min-height: 30px;@@ -211,8 +217,3 @@ const WindowTitlebar = styled("div")`/* Allow using the titlebar to drag the window */app-region: drag;`;--const redirectToFamilyPortal = () =>- void getFamilyPortalRedirectURL().then((url) => {- window.location.href = url;- });