π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove unused image (and its preload)
Manav Rathiebf51b99c862
diff --git a/web/apps/photos/public/images/delete-account/1x.png b/web/apps/photos/public/images/delete-account/1x.pngdeleted file mode 100644index b8288cee8e..0000000000Binary files a/web/apps/photos/public/images/delete-account/1x.png and /dev/null differdiff --git a/web/apps/photos/public/images/delete-account/2x.png b/web/apps/photos/public/images/delete-account/2x.pngdeleted file mode 100644index 31c9014bc6..0000000000Binary files a/web/apps/photos/public/images/delete-account/2x.png and /dev/null differdiff --git a/web/apps/photos/public/images/delete-account/3x.png b/web/apps/photos/public/images/delete-account/3x.pngdeleted file mode 100644index 7be1e70ded..0000000000Binary files a/web/apps/photos/public/images/delete-account/3x.png and /dev/null differdiff --git a/web/apps/photos/src/components/DeleteAccountModal.tsx b/web/apps/photos/src/components/DeleteAccountModal.tsxindex 43d312b6cb..40a5214454 100644--- a/web/apps/photos/src/components/DeleteAccountModal.tsx+++ b/web/apps/photos/src/components/DeleteAccountModal.tsx@@ -7,10 +7,9 @@ import { Formik, type FormikHelpers } from "formik";import { t } from "i18next";import { AppContext } from "pages/_app";import { GalleryContext } from "pages/gallery";-import { useContext, useEffect, useRef, useState } from "react";+import { useContext, useRef, useState } from "react";import { Trans } from "react-i18next";import { deleteAccount, getAccountDeleteChallenge } from "services/userService";-import { preloadImage } from "utils/common";import { decryptDeleteAccountChallenge } from "utils/crypto";import * as Yup from "yup";import { CheckboxInput } from "./CheckboxInput";@@ -39,10 +38,6 @@ const DeleteAccountModal = ({ open, onClose }: Iprops) => {const isMobile = useMediaQuery("(max-width: 428px)");- useEffect(() => {- preloadImage("/images/delete-account");- }, []);-const somethingWentWrong = () =>setDialogBoxAttributesV2({title: t("ERROR"),