finish todo for recovery password input error handling

pull/891/head
ryanzhao 2 years ago
parent cd7c78fc7b
commit f6bf61f1b3

@ -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)

Loading…
Cancel
Save