Fix Vendor detection bug pt. 2.
This commit is contained in:
parent
65729ec444
commit
72ea481bfd
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ enum class Vendor(
|
|||
fun searchByName(name: String): List<Vendor> {
|
||||
val searchName = name.toLowerCase()
|
||||
return values().filter {
|
||||
it.prettyName.toLowerCase().contains(searchName)
|
||||
it.fullName.toLowerCase().contains(searchName)
|
||||
}.toList()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue