π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Reword comment
Manav Rathiba94427b36a4
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex 1d4512b489..7b0de0c920 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -721,16 +721,16 @@ const Page: React.FC = () => {void (async () => {showLoadingBar();try {- const selectedFiles = getSelectedFiles(- selected,+ // When hiding use all non-hidden files instead of the filtered+ // files since we want to move all files copies to the hidden+ // collection.+ const opFiles =op == "hide"- ? // passing files here instead of filteredData for hide since- // we want to move all files copies to hidden collection- state.collectionFiles.filter(+ ? state.collectionFiles.filter((f) => !state.hiddenFileIDs.has(f.id),)- : filteredFiles,- );+ : filteredFiles;+ const selectedFiles = getSelectedFiles(selected, opFiles);const toProcessFiles =op == "download"? selectedFiles