π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
codemods + manual
Manav Rathi859bf63685b1
diff --git a/web/packages/shared/components/Menu/EnteMenuItem.tsx b/web/packages/shared/components/Menu/EnteMenuItem.tsxindex 48c88e0e0b..e9f1452f9e 100644--- a/web/packages/shared/components/Menu/EnteMenuItem.tsx+++ b/web/packages/shared/components/Menu/EnteMenuItem.tsx@@ -66,25 +66,21 @@ export const EnteMenuItem: React.FC<EnteMenuItemProps> = ({disabled={disabled}onClick={handleButtonClick}disableRipple={variant == "toggle"}- sx={{+ sx={(theme) => ({width: "100%",- color: (theme) =>- variant !== "captioned"- ? theme.palette[color].main- : "inherit",backgroundColor: (theme) =>variant !== "secondary" && variant !== "mini"? theme.colors.fill.faint: "inherit","&:hover": {- backgroundColor: (theme) => theme.colors.fill.faintPressed,+ backgroundColor: theme.colors.fill.faintPressed,},"& .MuiSvgIcon-root": {fontSize: "20px",},p: 0,borderRadius: "4px",- }}+ })}><SpaceBetweenFlex sx={{ pl: "16px", pr: "12px" }}><VerticallyCenteredFlex sx={{ py: "14px" }} gap={"10px"}>diff --git a/web/packages/shared/components/SingleInputForm.tsx b/web/packages/shared/components/SingleInputForm.tsxindex 99981bed35..df07688680 100644--- a/web/packages/shared/components/SingleInputForm.tsx+++ b/web/packages/shared/components/SingleInputForm.tsx@@ -136,23 +136,26 @@ export default function SingleInputForm(props: SingleInputFormProps) {disabled={loading}autoFocus={!props.disableAutoFocus}autoComplete={props.autoComplete}- InputProps={{- autoComplete:- props.disableAutoComplete ||- props.fieldType === "password"- ? "off"- : "on",- endAdornment: props.fieldType === "password" && (- <ShowHidePassword- showPassword={showPassword}- handleClickShowPassword={- handleClickShowPassword- }- handleMouseDownPassword={- handleMouseDownPassword- }- />- ),+ slotProps={{+ input: {+ autoComplete:+ props.disableAutoComplete ||+ props.fieldType === "password"+ ? "off"+ : "on",+ endAdornment: props.fieldType ===+ "password" && (+ <ShowHidePassword+ showPassword={showPassword}+ handleClickShowPassword={+ handleClickShowPassword+ }+ handleMouseDownPassword={+ handleMouseDownPassword+ }+ />+ ),+ },}}/><FormHelperText