π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: Separate _isStopped check from null check
Prateek Sunale6c236590ba7
diff --git a/mobile/apps/photos/lib/services/video_preview_service.dart b/mobile/apps/photos/lib/services/video_preview_service.dartindex 1a1431f26e..c66cdda01d 100644--- a/mobile/apps/photos/lib/services/video_preview_service.dart+++ b/mobile/apps/photos/lib/services/video_preview_service.dart@@ -438,8 +438,9 @@ class VideoPreviewService {// get filefile ??= await getFile(enteFile, isOrigin: true);- if (_isStopped || file == null) {- if (file == null) error = "Unable to fetch file";+ if (_isStopped) return;+ if (file == null) {+ error = "Unable to fetch file";return;}