Do not keep the cells selected
This commit is contained in:
parent
f31a4df943
commit
30e6c44356
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ class PGPKeyFileSettingTableViewController: AutoCellHeightUITableViewController
|
||||||
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
||||||
let cell = tableView.cellForRow(at: indexPath)
|
let cell = tableView.cellForRow(at: indexPath)
|
||||||
let picker = UIDocumentPickerViewController(documentTypes: ["public.data"], in: .open)
|
let picker = UIDocumentPickerViewController(documentTypes: ["public.data"], in: .open)
|
||||||
|
cell?.isSelected = false
|
||||||
if cell == pgpPublicKeyFile {
|
if cell == pgpPublicKeyFile {
|
||||||
currentlyPicking = .public
|
currentlyPicking = .public
|
||||||
} else if cell == pgpPrivateKeyFile {
|
} else if cell == pgpPrivateKeyFile {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue