mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
fix: Update search query validation to require at least 2 characters instead of 3 (#124)
This commit is contained in:
commit
f4722fa0a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue