Merge pull request #2014 from rizwankce/fix/add-account-cell-high-lighting

Deselect the cell row when selected for add account view controller
This commit is contained in:
Maurice Parker 2020-04-24 09:11:28 -05:00 committed by GitHub
commit a46609b564
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ class AddAccountViewController: UITableViewController {
#endif
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
tableView.deselectRow(at: indexPath, animated: true)
switch indexPath.row {
case 0:
let navController = UIStoryboard.account.instantiateViewController(withIdentifier: "AddLocalAccountNavigationViewController") as! UINavigationController