Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(photos): queue locally updated assets for re-upload

AmanRajSinghMourya7f1cd730a4ae
diff --git a/mobile/apps/photos/lib/services/sync/local_sync_service.dart b/mobile/apps/photos/lib/services/sync/local_sync_service.dart
index 372e0d75f3..f8ec27de24 100644
--- a/mobile/apps/photos/lib/services/sync/local_sync_service.dart
+++ b/mobile/apps/photos/lib/services/sync/local_sync_service.dart
@@ -394,7 +394,7 @@ class LocalSyncService {
_logger.info(
"track ${updatedLocalIDs.length}/ $updateCount files due to modification change",
);
- if (updatedLocalIDs.isEmpty) {
+ if (updatedLocalIDs.isNotEmpty) {
await FileUpdationDB.instance.insertMultiple(
updatedLocalIDs,
FileUpdationDB.modificationTimeUpdated,