Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add comment about mapping sync rate

Prateek Sunal0b2785f6cdc1
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 f8ec27de24..9d91f1e4dc 100644
--- a/mobile/apps/photos/lib/services/sync/local_sync_service.dart
+++ b/mobile/apps/photos/lib/services/sync/local_sync_service.dart
@@ -239,7 +239,9 @@ class LocalSyncService {
}
_logger.info("syncAll took ${stopwatch.elapsed.inMilliseconds}ms ");
- return hasUnsyncedFiles;
+ // syncAll can repair mappings without inserting new local files.
+ // We still need the follow-up remote sync to promote those entries.
+ return hasUnsyncedFiles || hasAnyMappingChanged;
}
Future<void> ignoreUpload(EnteFile file, InvalidFileError error) async {