Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: update mobile/apps/photos/lib/services/video_preview_service.dart

Prateek Sunaladb71fe09cad
diff --git a/mobile/apps/photos/lib/services/video_preview_service.dart b/mobile/apps/photos/lib/services/video_preview_service.dart
index b500ae48f1..c7d3abd982 100644
--- a/mobile/apps/photos/lib/services/video_preview_service.dart
+++ b/mobile/apps/photos/lib/services/video_preview_service.dart
@@ -1128,8 +1128,8 @@ class VideoPreviewService {
Future.delayed(duration, () async {
if (_hasQueuedFile) return;
- final allowedStream = _allowStream();
- if (!allowedStream) return;
+ final isStreamAllowed = _allowStream();
+ if (!isStreamAllowed) return;
await _ensurePreviewIdsInitialized();
await _putFilesForPreviewCreation();