π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Remove too small trips
laurenspriem5a0d2ba922d9
diff --git a/mobile/lib/services/search_service.dart b/mobile/lib/services/search_service.dartindex 09fd29fbfd..3227f4b77b 100644--- a/mobile/lib/services/search_service.dart+++ b/mobile/lib/services/search_service.dart@@ -1439,6 +1439,14 @@ class SearchService {mergedTrips[tripID] = (trip.$1, trip.$3, trip.$4);}+ // Remove too small trips+ for (final tripID in mergedTrips.keys.toList()) {+ final filesAmount = mergedTrips[tripID]!.$1.length;+ if (filesAmount < 20) {+ mergedTrips.remove(tripID);+ }+ }+// TODO: lau: Check if there are any trips to surface// For now for testing let's just surface all base and trip locationsfor (final baseLocation in baseLocations.values) {