π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Reorder
Manav Rathi30d8ebd9462d
diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsxindex 2643cdc8c4..3c6e7cb1d8 100644--- a/web/apps/photos/src/pages/shared-albums.tsx+++ b/web/apps/photos/src/pages/shared-albums.tsx@@ -452,14 +452,14 @@ export default function PublicCollectionGallery() {}};- if (loading) {- if (!publicFiles) {- return (- <VerticallyCentered>- <ActivityIndicator />- </VerticallyCentered>- );- }+ if (loading && !publicFiles) {+ return (+ <VerticallyCentered>+ <ActivityIndicator />+ </VerticallyCentered>+ );+ } else if (!publicFiles) {+ return <VerticallyCentered>{t("NOT_FOUND")}</VerticallyCentered>;} else if (errorMessage) {return <VerticallyCentered>{errorMessage}</VerticallyCentered>;} else if (isPasswordProtected && !passwordJWTToken.current) {@@ -479,8 +479,6 @@ export default function PublicCollectionGallery() {</FormPaper></VerticallyCentered>);- } else if (!publicFiles) {- return <VerticallyCentered>{t("NOT_FOUND")}</VerticallyCentered>;}return (