π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] datepicker for debugging memories
laurenspriemde2b39994117
diff --git a/mobile/lib/services/search_service.dart b/mobile/lib/services/search_service.dartindex 2f6bf8b4a6..f45e2735ed 100644--- a/mobile/lib/services/search_service.dart+++ b/mobile/lib/services/search_service.dart@@ -1230,9 +1230,21 @@ class SearchService {BuildContext context,int? limit,) async {+ DateTime calcTime = DateTime.now();+ // await two seconds to let new page load first+ await Future.delayed(const Duration(seconds: 1));+ if (limit == null) {+ final DateTime? pickedTime = await showDatePicker(+ context: context,+ initialDate: DateTime.now(),+ firstDate: DateTime(1900),+ lastDate: DateTime(2100),+ );+ if (pickedTime != null) calcTime = pickedTime;+ }final cache = await memoriesCacheService.debugCacheForTesting();final memoriesResult = await smartMemoriesService- .calcMemories(DateTime.now(), cache, debugSurfaceAll: true);+ .calcMemories(calcTime, cache, debugSurfaceAll: true);locationService.baseLocations = memoriesResult.baseLocations;final searchResults = <GenericSearchResult>[];for (final memory in memoriesResult.memories) {