Fix Vendor detection bug.

This commit is contained in:
Oliver Rümpelein 2020-05-10 11:28:38 +02:00
parent a99728852e
commit 65729ec444

View file

@ -251,7 +251,7 @@ enum class Vendor(
companion object : StringGeneratable<Vendor> {
override val paramKey = "mk"
override fun of(input: String) = values().find { input == it.prettyName }
override fun of(input: String) = values().find { input == it.fullName }
fun searchByName(name: String): List<Vendor> {
val searchName = name.toLowerCase()