Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: reduce it to 10 minutes minimum

Prateek Sunal437eb246b032
diff --git a/mobile/lib/services/preview_video_store.dart b/mobile/lib/services/preview_video_store.dart
index 2598025f5e..97145056e1 100644
--- a/mobile/lib/services/preview_video_store.dart
+++ b/mobile/lib/services/preview_video_store.dart
@@ -590,8 +590,8 @@ class PreviewVideoStore {
.where((file) => previewIds?[file.uploadedFileID] == null)
.sorted((a, b) {
// put higher duration videos last
- final first = a.duration == null || a.duration! >= 10 * 60 * 60 ? 1 : 0;
- final second = b.duration == null || b.duration! >= 10 * 60 * 60 ? 1 : 0;
+ final first = a.duration == null || a.duration! >= 10 * 60 ? 1 : 0;
+ final second = b.duration == null || b.duration! >= 10 * 60 ? 1 : 0;
return first.compareTo(second);
}).toList();