π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Extract
Manav Rathi4e22fba056ed
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex 72bb4cbfb7..9f66338712 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -999,16 +999,7 @@ const Page: React.FC = () => {/>)}</NavbarBase>- {isFirstLoad && (- <CenteredRow>- <Typography- variant="small"- sx={{ color: "text.muted" }}- >- {t("initial_load_delay_warning")}- </Typography>- </CenteredRow>- )}+ {isFirstLoad && <FirstLoadMessage />}{isOffline && <OfflineMessage />}<GalleryBarAndListHeader@@ -1141,6 +1132,14 @@ const Page: React.FC = () => {export default Page;+const FirstLoadMessage: React.FC = () => (+ <CenteredRow>+ <Typography variant="small" sx={{ color: "text.muted" }}>+ {t("initial_load_delay_warning")}+ </Typography>+ </CenteredRow>+);+const OfflineMessage: React.FC = () => (<Typographyvariant="small"