[mob][photos] Limit

This commit is contained in:
laurenspriem
2025-02-11 17:26:06 +05:30
parent 4a9bc84375
commit cea9fa84a1

View File

@@ -1512,6 +1512,7 @@ class SearchService {
),
),
);
if (limit != null && searchResults.length >= limit) return searchResults;
}
}
// Otherwise, if no trips happened in the current month,
@@ -1559,7 +1560,7 @@ class SearchService {
}
}
}
return searchResults; // TODO: lau: take [limit] into account
return searchResults;
}
Future<List<GenericSearchResult>> onThisDayOrWeekResults(