π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
init
Manav Rathi53d01b2aa4cf
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex d27a8f904d..5aa59739a0 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -49,7 +49,10 @@ import {} from "@/new/photos/services/search";import type { SearchOption } from "@/new/photos/services/search/types";import { initSettings } from "@/new/photos/services/settings";-import { getLocalFamilyData } from "@/new/photos/services/family";+import {+ initUserDetails,+ userDetailsSnapshot,+} from "@/new/photos/services/user";import { useAppContext } from "@/new/photos/types/context";import { splitByPredicate } from "@/utils/array";import { ensure } from "@/utils/ensure";@@ -350,6 +353,7 @@ export default function Gallery() {return;}initSettings();+ await initUserDetails();await downloadManager.init(token);setupSelectAllKeyBoardShortcutHandler();dispatch({ type: "showAll" });@@ -359,7 +363,7 @@ export default function Gallery() {}setIsFirstLogin(false);const user = getData(LS_KEYS.USER);- const familyData = getLocalFamilyData();+ const familyData = userDetailsSnapshot().familyData;const files = sortFiles(mergeMetadata(await getLocalFiles("normal")),);