π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Match the variable name
Manav Rathi39bc68390f4b
diff --git a/web/apps/photos/src/components/FixCreationTime.tsx b/web/apps/photos/src/components/FixCreationTime.tsxindex 264ec5179a..6814cdf0e4 100644--- a/web/apps/photos/src/components/FixCreationTime.tsx+++ b/web/apps/photos/src/components/FixCreationTime.tsx@@ -54,17 +54,13 @@ const FixCreationTime: React.FC<FixCreationTimeProps> = (props) => {const startFix = async (option: FIX_OPTIONS, customTime: Date) => {setStep("running");- const completedWithoutError = await updateCreationTimeWithExif(+ const failed = await updateCreationTimeWithExif(props.attributes.files,option,customTime,setProgressTracker,);- if (!completedWithoutError) {- setStep("completed");- } else {- setStep("error");- }+ setStep(failed ? "error" : "completed");await galleryContext.syncWithRemote();};