π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] add feature enabled guard to _scheduleTimelinesForMemoriesStrip
Priyanshu Dangare759b03af239c
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.dartindex 30dc42e44e..80abee711a 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@@ -903,6 +903,9 @@ class MemoryLaneService {}Future<void> _scheduleTimelinesForMemoriesStrip() async {+ if (!isFeatureEnabled) {+ return;+ }final scheduleWindowMs = MemoryLaneSchedule.displayDuration.inMicroseconds;final cooldownMs = const Duration(days: 30).inMicroseconds;final cache = await _cacheService.getCache();