Skip to content

armgit / ente

Public Imported from GitHub
0

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

stop sync when preparing for upload itself

Prateek Sunal61a50e7da31d
diff --git a/mobile/apps/photos/lib/services/video_preview_service.dart b/mobile/apps/photos/lib/services/video_preview_service.dart
index 3bf9a96242..be3e26a6bf 100644
--- a/mobile/apps/photos/lib/services/video_preview_service.dart
+++ b/mobile/apps/photos/lib/services/video_preview_service.dart
@@ -71,8 +71,7 @@ class VideoPreviewService {
void _registerStopSafelyListeners() {
Bus.instance.on<SyncStatusUpdate>().listen((event) {
- if (event.status == SyncStatus.preparingForUpload ||
- event.status == SyncStatus.inProgress) {
+ if (event.status == SyncStatus.preparingForUpload) {
stopSafely("sync").ignore();
}
});