1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 02:53:09 +01: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
public boolean onQueryTextChange(String newText) {
searchSuggestions(newText);
if(!newText.isEmpty()) {
searchSuggestions(newText);
}
return true;
}