π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[web] Fix rendering of files without extension
Manav Rathi4a03e34a209a
diff --git a/web/apps/photos/src/components/PhotoViewer/index.tsx b/web/apps/photos/src/components/PhotoViewer/index.tsxindex ed28d55f37..ef6b0ed8a1 100644--- a/web/apps/photos/src/components/PhotoViewer/index.tsx+++ b/web/apps/photos/src/components/PhotoViewer/index.tsx@@ -391,7 +391,7 @@ export const PhotoViewer: React.FC<PhotoViewerProps> = ({const extension = lowercaseExtension(file.metadata.title);// Assume it is supported.let isSupported = true;- if (needsJPEGConversion(extension)) {+ if (extension && needsJPEGConversion(extension)) {// See if the file is on the whitelist of extensions that we know// will not be directly renderable.if (!isDesktop) {