π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix(lint)
Aswin Asok5cf6c0482536
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex cd889c0feb..fdaac7c035 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -418,7 +418,7 @@ const Page: React.FC = () => {useEffect(() => {const electron = globalThis.electron;let syncIntervalID: ReturnType<typeof setInterval> | undefined;- let unsubscribeMainWindowFocus = () => undefined;+ let unsubscribeMainWindowFocus: (() => void) | undefined;void (async () => {if (!haveMasterKeyInSession() || !(await savedAuthToken())) {@@ -522,7 +522,7 @@ const Page: React.FC = () => {return () => {clearInterval(syncIntervalID);- unsubscribeMainWindowFocus();+ unsubscribeMainWindowFocus?.();};}, []);