fixed emty search query on suggestions error

pull/224/head
Christian Schabesberger 2016-02-23 23:36:02 +01:00
rodzic 4ea86b714e
commit e4f753ae82
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

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