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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Prateek Sunal
2025-08-26 04:31:12 +05:30
committed by GitHub
parent c20cee2406
commit adb71fe09c

View File

@@ -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();