finish todo for recovery password input error handling
This commit is contained in:
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…
Reference in New Issue