Deselect the cell row when selected for add account view controller
To avoid the highlighting even after the row is selected
This commit is contained in:
parent
c55d8c540e
commit
c7e3162c22
|
@ -32,6 +32,7 @@ class AddAccountViewController: UITableViewController, AddAccountDismissDelegate
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
||||||
|
tableView.deselectRow(at: indexPath, animated: true)
|
||||||
switch indexPath.row {
|
switch indexPath.row {
|
||||||
case 0:
|
case 0:
|
||||||
let navController = UIStoryboard.account.instantiateViewController(withIdentifier: "AddLocalAccountNavigationViewController") as! UINavigationController
|
let navController = UIStoryboard.account.instantiateViewController(withIdentifier: "AddLocalAccountNavigationViewController") as! UINavigationController
|
||||||
|
|
Loading…
Reference in New Issue