diff options
Diffstat (limited to 'ssh/src/main/kotlin')
-rw-r--r-- | ssh/src/main/kotlin/app/passwordstore/ssh/SSHKeyType.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh/src/main/kotlin/app/passwordstore/ssh/SSHKeyType.kt b/ssh/src/main/kotlin/app/passwordstore/ssh/SSHKeyType.kt index 4a716ac8..b9318297 100644 --- a/ssh/src/main/kotlin/app/passwordstore/ssh/SSHKeyType.kt +++ b/ssh/src/main/kotlin/app/passwordstore/ssh/SSHKeyType.kt @@ -10,6 +10,6 @@ public enum class SSHKeyType(internal val value: String) { public companion object { - public fun fromValue(type: String?): SSHKeyType? = values().associateBy { it.value }[type] + public fun fromValue(type: String?): SSHKeyType? = entries.associateBy { it.value }[type] } } |