π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Swap
Manav Rathi4ce5c34baa19
diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsxindex 32e8784d0d..669bacefa0 100644--- a/web/apps/photos/src/pages/shared-albums.tsx+++ b/web/apps/photos/src/pages/shared-albums.tsx@@ -90,8 +90,7 @@ export default function PublicCollectionGallery() {const [publicFiles, setPublicFiles] = useState<EnteFile[]>(null);const [publicCollection, setPublicCollection] = useState<Collection>(null);const [errorMessage, setErrorMessage] = useState<string>(null);- const { showLoadingBar, hideLoadingBar, setDialogMessage } =- useAppContext();+ const { showLoadingBar, hideLoadingBar, showMiniDialog } = useAppContext();const [loading, setLoading] = useState(true);const router = useRouter();const [isPasswordProtected, setIsPasswordProtected] =@@ -186,16 +185,17 @@ export default function PublicCollectionGallery() {};const showPublicLinkExpiredMessage = () =>- setDialogMessage({+ showMiniDialog({title: t("LINK_EXPIRED"),- content: t("LINK_EXPIRED_MESSAGE"),-+ message: t("LINK_EXPIRED_MESSAGE"),nonClosable: true,- proceed: {+ continue: {text: t("login"),- action: () => router.push("/"),- variant: "accent",+ action: async () => {+ await router.push("/");+ },},+ cancel: false,});useEffect(() => {