Limited number of search items in search bar

This commit is contained in:
CappielloAntonio committed 2021-04-21 14:37:30 +02:00
1 parent 55c335d7fc
commit fa70039ff5
2 files changed
+3 -3

No files matched your search

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