mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
[mob][photos] Increase trip distance threshold
This commit is contained in:
parent
8922d7e663
commit
726c6dc8e6
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user