finish todo for recovery password input error handling

This commit is contained in:
ryanzhao 2023-08-23 14:16:59 +10:00
parent cd7c78fc7b
commit f6bf61f1b3
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ struct LoadAccountView: View {
}
let seed = Data(hex: hexEncodedSeed)
if (seed.count != 16) {
//TODO: show error
errorString = "recovery_password_error_generic".localized()
return
}
let (ed25519KeyPair, x25519KeyPair) = try! Identity.generate(from: seed)