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;
}