1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-24 17:10:33 +00:00

fixed emty search query on suggestions error

This commit is contained in:
Christian Schabesberger 2016-02-23 23:36:02 +01:00
parent 4ea86b714e
commit e4f753ae82

View File

@ -108,7 +108,9 @@ public class VideoItemListActivity extends AppCompatActivity
@Override @Override
public boolean onQueryTextChange(String newText) { public boolean onQueryTextChange(String newText) {
searchSuggestions(newText); if(!newText.isEmpty()) {
searchSuggestions(newText);
}
return true; return true;
} }