Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile][photos] check feature enabled in _repairTimelineCropReadiness

Priyanshu Dangare63f700868c81
diff --git a/mobile/apps/photos/lib/services/memory_lane/memory_lane_service.dart b/mobile/apps/photos/lib/services/memory_lane/memory_lane_service.dart
index 5f40c0043a..fa12a43883 100644
--- a/mobile/apps/photos/lib/services/memory_lane/memory_lane_service.dart
+++ b/mobile/apps/photos/lib/services/memory_lane/memory_lane_service.dart
@@ -230,6 +230,7 @@ class MemoryLaneService {
}
Future<void> _repairTimelineCropReadiness(String personId) async {
+ if (!_isFeatureEnabled) return;
if (!PersonService.isInitialized) {
_logger.warning(
"Memory Lane crop readiness skipped for $personId: PersonService not initialized",