Skip to content

Commit

Permalink
fix(search): stop empty search queries from happening
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasGGamerM committed Sep 20, 2023
1 parent 77e19b4 commit 2c82463
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ private void onClearRecentClick(){
}

private void deliverResult(String query, SearchResult.Type typeFilter){
if(query.isEmpty())
return;
Bundle res=new Bundle();
res.putString("query", query);
if(typeFilter!=null)
Expand Down

0 comments on commit 2c82463

Please sign in to comment.