π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Return false if file doesn't have location data on checking if a file matches a location filter
ashilkn05b14ac32ef7
diff --git a/mobile/lib/models/search/hierarchical/location_filter.dart b/mobile/lib/models/search/hierarchical/location_filter.dartindex 3e90d3c5dd..4ea379dfd4 100644--- a/mobile/lib/models/search/hierarchical/location_filter.dart+++ b/mobile/lib/models/search/hierarchical/location_filter.dart@@ -25,7 +25,7 @@ class LocationFilter extends HierarchicalSearchFilter {@overridebool isMatch(EnteFile file) {- assert(file.hasLocation);+ if (!file.hasLocation) return false;return isFileInsideLocationTag(locationTag.centerPoint,file.location!,