π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
wip empty state
Manav Rathi167c4efc4040
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex 8d617af009..05a3b03577 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -1132,6 +1132,12 @@ export default function Gallery() {return <div></div>;}+ const showEmptySectionState =+ !isInSearchMode &&+ !isFirstLoad &&+ !files?.length &&+ !hiddenFiles?.length;+return (<GalleryContext.Providervalue={{@@ -1295,12 +1301,10 @@ export default function Gallery() {open={openWhatsNew}onClose={() => setOpenWhatsNew(false)}/>- {!isInSearchMode &&- !isFirstLoad &&- !files?.length &&- !hiddenFiles?.length &&- activeCollectionID === ALL_SECTION ? (+ {showEmptySectionState && activeCollectionID === ALL_SECTION ? (<GalleryEmptyState openUploader={openUploader} />+ ) : showEmptySectionState && resolvedBarMode == "people" ? (+ <div>Empty</div>) : (<PhotoFramepage={PAGES.GALLERY}