mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-14 09:50:06 +00:00
clean
This commit is contained in:
@@ -27,10 +27,6 @@ class SearchViewModel(application: Application) : AndroidViewModel(application)
|
|||||||
get() = result
|
get() = result
|
||||||
|
|
||||||
fun onQueryUpdated(query: String, threadId: Long) {
|
fun onQueryUpdated(query: String, threadId: Long) {
|
||||||
if (firstSearch && query.length < 2) {
|
|
||||||
result.postValue(SearchResult(CursorList.emptyList(), 0))
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (query == activeQuery) {
|
if (query == activeQuery) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user