mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-19 19:18:27 +00:00
clean
This commit is contained in:
parent
628477f2fd
commit
1e787660a8
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user