π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Prune
Manav Rathia0d4326d6248
diff --git a/desktop/src/main/services/ml-worker.ts b/desktop/src/main/services/ml-worker.tsindex f700d84477..22fad4ec1c 100644--- a/desktop/src/main/services/ml-worker.ts+++ b/desktop/src/main/services/ml-worker.ts@@ -184,7 +184,7 @@ const downloadModel = async (saveLocation: string, name: string) => {/*** Create an ONNX {@link InferenceSession} with some defaults.*/-const createInferenceSession = async (modelPath: string) =>+const createInferenceSession = (modelPath: string) =>ort.InferenceSession.create(modelPath, {// Restrict the number of threads to 1.intraOpNumThreads: 1,diff --git a/web/apps/photos/src/components/FileList.tsx b/web/apps/photos/src/components/FileList.tsxindex 1ca3140377..7e9415652d 100644--- a/web/apps/photos/src/components/FileList.tsx+++ b/web/apps/photos/src/components/FileList.tsx@@ -709,7 +709,7 @@ export const FileList: React.FC<FileListProps> = ({}, [galleryContext.selectedFile]);const handleSelectMulti = handleSelectCreatorMulti(- galleryContext.setSelectedFiles,+ setSelected,mode,galleryContext?.user?.id,activeCollectionID,diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex 8420be8e92..246ae7dd57 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -138,7 +138,6 @@ const defaultGalleryContext: GalleryContextType = {emailList: null,openHiddenSection: () => null,selectedFile: null,- setSelectedFiles: () => null,};export const GalleryContext = createContext<GalleryContextType>(@@ -891,7 +890,6 @@ const Page: React.FC = () => {emailList: state.shareSuggestionEmails,openHiddenSection,selectedFile: selected,- setSelectedFiles: setSelected,}}><FullScreenDropZonediff --git a/web/apps/photos/src/types/gallery/index.ts b/web/apps/photos/src/types/gallery/index.tsindex 012df9a13c..188a0a60de 100644--- a/web/apps/photos/src/types/gallery/index.ts+++ b/web/apps/photos/src/types/gallery/index.ts@@ -46,6 +46,5 @@ export interface GalleryContextType {userIDToEmailMap: Map<number, string>;emailList: string[];openHiddenSection: (callback?: () => void) => void;- setSelectedFiles: (value) => void;selectedFile: SelectedState;}