Do not keep the cells selected

This commit is contained in:
Danny Moesch 2020-02-11 19:53:36 +01:00 committed by Mingshen Sun
parent f31a4df943
commit 30e6c44356

View file

@ -29,6 +29,7 @@ class PGPKeyFileSettingTableViewController: AutoCellHeightUITableViewController
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
let cell = tableView.cellForRow(at: indexPath)
let picker = UIDocumentPickerViewController(documentTypes: ["public.data"], in: .open)
cell?.isSelected = false
if cell == pgpPublicKeyFile {
currentlyPicking = .public
} else if cell == pgpPrivateKeyFile {