This commit is contained in:
Grishka 2023-09-25 17:11:10 -03:00 committed by LucasGGamerM
parent 1614213aae
commit d706768112
1 changed files with 2 additions and 0 deletions

View File

@ -424,6 +424,8 @@ public class SearchQueryFragment extends MastodonRecyclerFragment<SearchResultVi
} }
private void onSearchViewEnter(){ private void onSearchViewEnter(){
if(TextUtils.isEmpty(currentQuery) || currentQuery.trim().isEmpty())
return;
wrapSuicideDialog(()->deliverResult(currentQuery, null)); wrapSuicideDialog(()->deliverResult(currentQuery, null));
} }