QR code scanned key is appended to the textview

This commit is contained in:
Mingshen Sun 2020-04-13 21:20:08 -07:00
parent 4fdf9767c5
commit c35aedb7ad

View file

@ -112,9 +112,9 @@ class PGPKeyArmorImportTableViewController: AutoCellHeightUITableViewController,
let key = scanned.segments.joined(separator: "")
switch scanned.keyType {
case .publicKey:
armorPublicKeyTextView.text = key
armorPublicKeyTextView.text += key
case .privateKey:
armorPrivateKeyTextView.text = key
armorPrivateKeyTextView.text += key
}
}