mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 23:13:36 +00:00
Limited number of search items in search bar
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user