mirror of
https://github.com/ente-io/ente.git
synced 2025-08-13 01:27:17 +00:00
[mob][photos] Increase trip distance threshold
This commit is contained in:
@@ -1254,7 +1254,7 @@ class SearchService {
|
|||||||
if (isFileInsideLocationTag(
|
if (isFileInsideLocationTag(
|
||||||
clusterLocation,
|
clusterLocation,
|
||||||
file.location!,
|
file.location!,
|
||||||
50.0,
|
100.0,
|
||||||
)) {
|
)) {
|
||||||
wideRadiusClusters[clusterID]!.$1.add(file);
|
wideRadiusClusters[clusterID]!.$1.add(file);
|
||||||
foundWideCluster = true;
|
foundWideCluster = true;
|
||||||
@@ -1437,7 +1437,9 @@ class SearchService {
|
|||||||
}
|
}
|
||||||
for (final finalTrip in mergedTrips.values) {
|
for (final finalTrip in mergedTrips.values) {
|
||||||
final files = finalTrip.$1; // TODO: lau: take best selection only
|
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)";
|
final name = "Trip! ($year)";
|
||||||
searchResults.add(
|
searchResults.add(
|
||||||
GenericSearchResult(
|
GenericSearchResult(
|
||||||
|
Reference in New Issue
Block a user