Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

New lib works in more cases than before

Manav Rathi689d3c4c8258
diff --git a/web/packages/new/photos/services/exif.ts b/web/packages/new/photos/services/exif.ts
index 1066fb260d..dfe6cebe08 100644
--- a/web/packages/new/photos/services/exif.ts
+++ b/web/packages/new/photos/services/exif.ts
@@ -12,13 +12,13 @@ export const cmpNewLib = (
newLib: ParsedExif,
) => {
if (
- oldLib.width == newLib.width &&
- oldLib.height == newLib.height &&
oldLib.creationTime == newLib.creationTime &&
oldLib.location.latitude == newLib.location?.latitude &&
oldLib.location.longitude == newLib.location?.longitude
) {
- log.info("Exif migration 🟒");
+ if (oldLib.width == newLib.width && oldLib.height == newLib.height)
+ log.info("Exif migration βœ…");
+ else log.info("Exif migration 🟒");
log.debug(() => ["exif/cmp", { oldLib, newLib }]);
} else {
log.info("Exif migration - Potential mismatch β—οΈπŸš©");