π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Simplify
Manav Rathi2455d345533d
diff --git a/web/apps/photos/src/components/Collections/CollectionShare.tsx b/web/apps/photos/src/components/Collections/CollectionShare.tsxindex 3d3fe1ed87..414d96d092 100644--- a/web/apps/photos/src/components/Collections/CollectionShare.tsx+++ b/web/apps/photos/src/components/Collections/CollectionShare.tsx@@ -49,7 +49,6 @@ import { PublicLinkCreated } from "ente-new/photos/components/share/PublicLinkCrimport { avatarTextColor } from "ente-new/photos/services/avatar";import type { CollectionSummary } from "ente-new/photos/services/collection/ui";import { usePhotosAppContext } from "ente-new/photos/types/context";-import { FlexWrapper } from "ente-shared/components/Container";import SingleInputForm, {type SingleInputFormProps,} from "ente-shared/components/SingleInputForm";@@ -697,23 +696,17 @@ const AddParticipantForm: React.FC<AddParticipantFormProps> = (props) => {</Stack>)}</Stack>- <FlexWrapper- px={"8px"}- justifyContent={"center"}- flexWrap={"nowrap"}- >- <Stack sx={{ px: "8px", width: "100%" }}>- <LoadingButton- type="submit"- color="accent"- fullWidth- loading={loading}- sx={{ mt: 4, mb: 4 }}- >- {props.buttonText}- </LoadingButton>- </Stack>- </FlexWrapper>+ <Stack sx={{ px: 2 }}>+ <LoadingButton+ type="submit"+ color="accent"+ fullWidth+ loading={loading}+ sx={{ mt: 4, mb: 4 }}+ >+ {props.buttonText}+ </LoadingButton>+ </Stack></form>)}</Formik>diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex f777aaea92..586787bc46 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -101,7 +101,6 @@ import {verifyStripeSubscription,} from "ente-new/photos/services/user-details";import { usePhotosAppContext } from "ente-new/photos/types/context";-import { FlexWrapper } from "ente-shared/components/Container";import { getData } from "ente-shared/storage/localStorage";import {getToken,@@ -1250,16 +1249,15 @@ const HiddenSectionNavbarContents: React.FC<direction="row"sx={(theme) => ({gap: "24px",- width: "100%",+ flex: 1,+ alignItems: "center",background: theme.vars.palette.background.default,})}><IconButton onClick={onBack}><ArrowBackIcon /></IconButton>- <FlexWrapper>- <Typography>{t("section_hidden")}</Typography>- </FlexWrapper>+ <Typography sx={{ flex: 1 }}>{t("section_hidden")}</Typography></Stack>);