π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Re
Manav Rathi36e1e758c58c
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex 3e970d7fd9..7ffd2326c6 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -435,14 +435,19 @@ const Page: React.FC = () => {}, [state.isRecomputingSearchResults, state.pendingSearchSuggestions]);const selectAll = (e: KeyboardEvent) => {- // Ignore CTRL/CMD + a if the user is typing in a text field.+ // Don't intercept Ctrl/Cmd + a if the user is typing in a text field.if (e.target instanceof HTMLInputElement ||e.target instanceof HTMLTextAreaElement) {return;}- // Ignore select all if:++ // Prevent the browser's default select all handling (selecting all the+ // text in the gallery).+ e.preventDefault();++ // Don't select all if:if (// - We haven't fetched the user yet;!user ||@@ -462,9 +467,6 @@ const Page: React.FC = () => {return;}- // Prevent the browser's default select all handling.- e.preventDefault();-// Create a selection with everything based on the current context.const selected = {ownCount: 0,