Merge branch 'main' of github.com:MM2-0/Kvaesitso

This commit is contained in:
MM20
2023-10-28 17:17:06 +02:00
4 changed files with 352 additions and 4 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ android {
}
packaging {
resources.excludes.add("META-INF/DEPENDENCIES")
//resources.excludes.add("META-INF/DEPENDENCIES")
resources.excludes.add("META-INF/LICENSE")
resources.excludes.add("META-INF/LICENSE.txt")
resources.excludes.add("META-INF/license.txt")
@@ -168,4 +168,4 @@ dependencies {
// Uncomment this if you want annoying notifications in your debug builds yelling at you how terrible your code is
//debugImplementation(libs.leakcanary)
}
}
@@ -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()