π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add delay before queuing files for streaming
Neeraj Guptae55dcff9a5d7
diff --git a/mobile/lib/services/preview_video_store.dart b/mobile/lib/services/preview_video_store.dartindex 8f2ff5cbe4..474e8bfaef 100644--- a/mobile/lib/services/preview_video_store.dart+++ b/mobile/lib/services/preview_video_store.dart@@ -818,10 +818,12 @@ class PreviewVideoStore {}void queueFiles() {- if (!_hasQueuedFile) {- _putFilesForPreviewCreation(true).catchError((_) {- _hasQueuedFile = false;- });- }+ Future.delayed(const Duration(seconds: 5), () {+ if (!_hasQueuedFile) {+ _putFilesForPreviewCreation(true).catchError((_) {+ _hasQueuedFile = false;+ });+ }+ });}}