fix: Update search query validation to require at least 2 characters instead of 3 (#124)

This commit is contained in:
eddyizm 2025-09-27 18:17:23 -07:00 committed by GitHub
commit f4722fa0a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -254,7 +254,7 @@ public class SearchFragment extends Fragment implements ClickCallback {
}
private boolean isQueryValid(String query) {
return !query.equals("") && query.trim().length() > 2;
return !query.equals("") && query.trim().length() > 1;
}
private void inputFocus() {