fix(search): stop empty search queries from happening
This commit is contained in:
@@ -475,6 +475,8 @@ public class SearchQueryFragment extends MastodonRecyclerFragment<SearchResultVi
|
||||
}
|
||||
|
||||
private void deliverResult(String query, SearchResult.Type typeFilter){
|
||||
if(query.isEmpty())
|
||||
return;
|
||||
Bundle res=new Bundle();
|
||||
res.putString("query", query);
|
||||
if(typeFilter!=null)
|
||||
|
||||
Reference in New Issue
Block a user