Increase suggestion count

This commit is contained in:
seven332 committed 2018-12-14 15:49:11 +08:00
1 parent 0553fda3fa
commit 70ceb83205
2 files changed
+4 -4

No files matched your search

@@ -166,7 +166,7 @@ public class SearchBar extends CardView implements View.OnClickListener,
private void updateSuggestions() {
String prefix = mEditText.getText().toString();
String[] suggestions = mSearchDatabase.getSuggestions(prefix);
String[] suggestions = mSearchDatabase.getSuggestions(prefix, 128);
mSuggestionList.clear();
Collections.addAll(mSuggestionList, suggestions);
if (mSuggestionList.size() == 0) {