mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 18:22:39 +03:00
fix typo
This commit is contained in:
parent
ab6208f3f5
commit
b7ee31c70c
@ -8,7 +8,7 @@ fun ByteArray.asString() = joinToString(
|
|||||||
separator = ""
|
separator = ""
|
||||||
) { b -> "%02x".format(b) }
|
) { b -> "%02x".format(b) }
|
||||||
|
|
||||||
// covert yubikit types to Model types
|
// convert yubikit types to Model types
|
||||||
fun Credential.model(deviceId: String) = Model.Credential(
|
fun Credential.model(deviceId: String) = Model.Credential(
|
||||||
deviceId = deviceId,
|
deviceId = deviceId,
|
||||||
id = id.asString(),
|
id = id.asString(),
|
||||||
|
Loading…
Reference in New Issue
Block a user