π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix
Manav Rathid14c7cf4c98d
diff --git a/web/apps/accounts/src/pages/passkeys/RenamePasskeyModal.tsx b/web/apps/accounts/src/pages/passkeys/RenamePasskeyModal.tsxindex ad4f4a2f55..9b47cd2d98 100644--- a/web/apps/accounts/src/pages/passkeys/RenamePasskeyModal.tsx+++ b/web/apps/accounts/src/pages/passkeys/RenamePasskeyModal.tsx@@ -1,7 +1,7 @@import DialogBoxV2 from "@ente/shared/components/DialogBoxV2";import SingleInputForm from "@ente/shared/components/SingleInputForm";+import { useMediaQuery } from "@mui/material";import { t } from "i18next";-import { AppContext } from "pages/_app";import { useContext } from "react";import { renamePasskey } from "services/passkeysService";import { PasskeysContext } from ".";@@ -12,9 +12,10 @@ interface IProps {}const RenamePasskeyModal = (props: IProps) => {- const { isMobile } = useContext(AppContext);const { selectedPasskey } = useContext(PasskeysContext);+ const isMobile = useMediaQuery("(max-width: 428px)");+const onSubmit = async (inputValue: string) => {if (!selectedPasskey) return;try {diff --git a/web/apps/photos/src/components/Collections/CollectionShare/publicShare/switch.tsx b/web/apps/photos/src/components/Collections/CollectionShare/publicShare/switch.tsxindex bb738a9e9b..112791cb6e 100644--- a/web/apps/photos/src/components/Collections/CollectionShare/publicShare/switch.tsx+++ b/web/apps/photos/src/components/Collections/CollectionShare/publicShare/switch.tsx@@ -1,4 +1,4 @@-import { Switch, SwitchProps, styled } from "@mui/material";+import { Switch, styled, type SwitchProps } from "@mui/material";const PublicShareSwitch = styled((props: SwitchProps) => (<SwitchfocusVisibleClassName=".Mui-focusVisible"diff --git a/web/packages/shared/components/Collections/CollectionShare/publicShare/switch.tsx b/web/packages/shared/components/Collections/CollectionShare/publicShare/switch.tsxindex bb738a9e9b..112791cb6e 100644--- a/web/packages/shared/components/Collections/CollectionShare/publicShare/switch.tsx+++ b/web/packages/shared/components/Collections/CollectionShare/publicShare/switch.tsx@@ -1,4 +1,4 @@-import { Switch, SwitchProps, styled } from "@mui/material";+import { Switch, styled, type SwitchProps } from "@mui/material";const PublicShareSwitch = styled((props: SwitchProps) => (<SwitchfocusVisibleClassName=".Mui-focusVisible"