[mob][photos] Increase trip distance threshold

This commit is contained in:
laurenspriem 2025-02-10 11:33:11 +05:30
parent 8922d7e663
commit 726c6dc8e6

View File

@ -1254,7 +1254,7 @@ class SearchService {
if (isFileInsideLocationTag(
clusterLocation,
file.location!,
50.0,
100.0,
)) {
wideRadiusClusters[clusterID]!.$1.add(file);
foundWideCluster = true;
@ -1437,7 +1437,9 @@ class SearchService {
}
for (final finalTrip in mergedTrips.values) {
final files = finalTrip.$1; // TODO: lau: take best selection only
final year = DateTime.fromMicrosecondsSinceEpoch((finalTrip.$2 + finalTrip.$2) ~/ 2).year;
final year = DateTime.fromMicrosecondsSinceEpoch(
(finalTrip.$2 + finalTrip.$2) ~/ 2,
).year;
final name = "Trip! ($year)";
searchResults.add(
GenericSearchResult(