This commit is contained in:
Ryan Zhao 2021-06-29 14:38:51 +10:00
parent 628477f2fd
commit 1e787660a8
1 changed files with 0 additions and 4 deletions

View File

@ -27,10 +27,6 @@ class SearchViewModel(application: Application) : AndroidViewModel(application)
get() = result
fun onQueryUpdated(query: String, threadId: Long) {
if (firstSearch && query.length < 2) {
result.postValue(SearchResult(CursorList.emptyList(), 0))
return
}
if (query == activeQuery) {
return
}