diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/SearchQueryFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/SearchQueryFragment.java index 8db5c48c29..46e79658c3 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/SearchQueryFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/SearchQueryFragment.java @@ -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)