π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: issue
Prateek Sunal142a5f966157
diff --git a/mobile/apps/photos/lib/services/video_preview_service.dart b/mobile/apps/photos/lib/services/video_preview_service.dartindex 39911429f3..59462e1c2a 100644--- a/mobile/apps/photos/lib/services/video_preview_service.dart+++ b/mobile/apps/photos/lib/services/video_preview_service.dart@@ -751,12 +751,12 @@ class VideoPreviewService {}final int size = enteFile.fileSize!;final int duration = enteFile.duration!;- // if (size >= 500 * 1024 * 1024 || duration > 60) {- // _logger.info(- // "Skip Preview due to size: $size or duration: $duration",- // );- // return (null, true, null);- // }+ if (size >= 500 * 1024 * 1024 || duration > 60) {+ _logger.info(+ "Skip Preview due to size: $size or duration: $duration",+ );+ return (null, true, null);+ }FFProbeProps? props;File? file;bool skipFile = false;