Fix Vendor detection bug.
This commit is contained in:
parent
a99728852e
commit
65729ec444
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue