Fix Vendor detection bug pt. 2.

This commit is contained in:
Oliver Rümpelein 2020-05-10 11:29:17 +02:00
parent 65729ec444
commit 72ea481bfd

View file

@ -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()
}
}