π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: remove the limit for size and duration
Prateek Sunal9acfbf355c00
diff --git a/mobile/lib/services/video_preview_service.dart b/mobile/lib/services/video_preview_service.dartindex 8fd372c278..be616973af 100644--- a/mobile/lib/services/video_preview_service.dart+++ b/mobile/lib/services/video_preview_service.dart@@ -731,16 +731,10 @@ class VideoPreviewService {return (null, true, null);}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);- }FFProbeProps? props;File? file;bool skipFile = false;+try {final isFileUnder10MB = size <= 10 * 1024 * 1024;if (isFileUnder10MB) {