Merge branch 'main' of github.com:MM2-0/Kvaesitso
This commit is contained in:
@@ -105,7 +105,9 @@ class SearchVM : ViewModel(), KoinComponent {
|
||||
searchQuery.value = query
|
||||
isSearchEmpty.value = query.isEmpty()
|
||||
hiddenResults.value = emptyList()
|
||||
bestMatch.value = null
|
||||
|
||||
if (isSearchEmpty.value)
|
||||
bestMatch.value = null
|
||||
|
||||
try {
|
||||
searchJob?.cancel()
|
||||
|
||||
Reference in New Issue
Block a user