π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
lf
Manav Rathi10b58fc19bb2
diff --git a/web/apps/photos/src/pages/_app.tsx b/web/apps/photos/src/pages/_app.tsxindex 0150bc34cb..7d82f7cc37 100644--- a/web/apps/photos/src/pages/_app.tsx+++ b/web/apps/photos/src/pages/_app.tsx@@ -26,7 +26,6 @@ import EnteSpinner from "@ente/shared/components/EnteSpinner";import { MessageContainer } from "@ente/shared/components/MessageContainer";import AppNavbar from "@ente/shared/components/Navbar/app";import { PHOTOS_PAGES as PAGES } from "@ente/shared/constants/pages";-import { Events, eventBus } from "@ente/shared/events";import { useLocalState } from "@ente/shared/hooks/useLocalState";import HTTPService from "@ente/shared/network/HTTPService";import { LS_KEYS, getData } from "@ente/shared/storage/localStorage";@@ -52,7 +51,7 @@ import "photoswipe/dist/photoswipe.css";import { createContext, useEffect, useRef, useState } from "react";import LoadingBar from "react-top-loading-bar";import DownloadManager from "services/download";-import exportService, { resumeExportsIfNeeded } from "services/export";+import { resumeExportsIfNeeded } from "services/export";import { photosLogout } from "services/logout";import {getMLSearchConfig,diff --git a/web/apps/photos/src/pages/gallery/index.tsx b/web/apps/photos/src/pages/gallery/index.tsxindex d99a1ff839..9ade12fc5e 100644--- a/web/apps/photos/src/pages/gallery/index.tsx+++ b/web/apps/photos/src/pages/gallery/index.tsx@@ -329,7 +329,7 @@ export default function Gallery() {await getRecoveryKey();return true;} catch (e) {- await logout();+ logout();return false;}};diff --git a/web/apps/photos/src/services/userService.ts b/web/apps/photos/src/services/userService.tsindex c8dba0ba0b..47bda4f0a1 100644--- a/web/apps/photos/src/services/userService.ts+++ b/web/apps/photos/src/services/userService.ts@@ -3,7 +3,6 @@ import { putAttributes } from "@ente/accounts/api/user";import { ApiError } from "@ente/shared/error";import HTTPService from "@ente/shared/network/HTTPService";import { getEndpoint, getFamilyPortalURL } from "@ente/shared/network/api";-import localForage from "@ente/shared/storage/localForage";import { LS_KEYS, getData } from "@ente/shared/storage/localStorage";import {getToken,