π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Show text instead of icon for Add photos button on mobile in public albums
Anand Baburajan2ec6a6be5b7c
diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsxindex f65aed9052..698214c0b6 100644--- a/web/apps/photos/src/pages/shared-albums.tsx+++ b/web/apps/photos/src/pages/shared-albums.tsx@@ -711,32 +711,22 @@ const AddPhotosButton: React.FC<ButtonishProps> = ({ onClick }) => {const isSmallWidth = useIsSmallWidth();return (- <Box>- {isSmallWidth ? (- <IconButton {...{ onClick, disabled }}>+ <FocusVisibleButton+ color="secondary"+ startIcon={+ isSmallWidth ? undefined : (<HugeiconsIconicon={ImageAdd02Icon}- size={22}+ size={20}strokeWidth={1.8}/>- </IconButton>- ) : (- <FocusVisibleButton- color="secondary"- startIcon={- <HugeiconsIcon- icon={ImageAdd02Icon}- size={20}- strokeWidth={1.8}- />- }- sx={{ borderRadius: "16px" }}- {...{ onClick, disabled }}- >- {t("add_photos")}- </FocusVisibleButton>- )}- </Box>+ )+ }+ sx={{ borderRadius: "16px" }}+ {...{ onClick, disabled }}+ >+ {t("add_photos")}+ </FocusVisibleButton>);};