Skip to content

armgit / ente

Public Imported from GitHub
0

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

add log for local sync trigger in backup flow

Prateek Sunal1c74f1d170b2
diff --git a/mobile/apps/photos/lib/ui/common/backup_flow_helper.dart b/mobile/apps/photos/lib/ui/common/backup_flow_helper.dart
index 7b0c234f49..6bbc26978f 100644
--- a/mobile/apps/photos/lib/ui/common/backup_flow_helper.dart
+++ b/mobile/apps/photos/lib/ui/common/backup_flow_helper.dart
@@ -96,6 +96,7 @@ Future<bool?> _handleFirstImportFlow(BuildContext context) async {
// 1. It has its own _existingSync guard - returns existing future if already running
// 2. It's all we need for first import (fires completedFirstGalleryImport event)
// 3. Avoids race conditions with SyncService._doSync() calling syncAll()
+ _logger.info("Triggering local sync for first import from backup flow");
unawaited(LocalSyncService.instance.sync());
return routeToPage<bool>(