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) {
if(!newText.isEmpty()) {
searchSuggestions(newText); searchSuggestions(newText);
}
return true; return true;
} }