π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Retain the dialog
Manav Rathi9037973ced51
diff --git a/web/apps/photos/src/components/pages/gallery/PlanSelector.tsx b/web/apps/photos/src/components/pages/gallery/PlanSelector.tsxindex 2f06953af9..525da89eb7 100644--- a/web/apps/photos/src/components/pages/gallery/PlanSelector.tsx+++ b/web/apps/photos/src/components/pages/gallery/PlanSelector.tsx@@ -687,12 +687,19 @@ function ManageSubscription({closeModal,setLoading,}: ManageSubscriptionProps) {+ const { setDialogMessage } = useContext(AppContext);+const openFamilyPortal = async () => {setLoading(true);try {openURL(await getFamilyPortalRedirectURL());} catch (e) {log.error("Could not redirect to family portal", e);+ setDialogMessage({+ title: t("ERROR"),+ content: t("UNKNOWN_ERROR"),+ close: { variant: "critical" },+ });}setLoading(false);};