feat: Removed limit of 5 search suggestions

This commit is contained in:
antonio 2023-06-24 11:16:05 +02:00
parent 3b80725673
commit b5e5537691
3 changed files with 7 additions and 9 deletions

View file

@ -56,7 +56,7 @@ public class SearchViewModel extends AndroidViewModel {
public List<String> getRecentSearchSuggestion() {
ArrayList<String> suggestions = new ArrayList<>();
suggestions.addAll(searchingRepository.getRecentSearchSuggestion(5));
suggestions.addAll(searchingRepository.getRecentSearchSuggestion());
return suggestions;
}