From c7e3162c2268057afb74debbe6885d33d43e9362 Mon Sep 17 00:00:00 2001 From: Rizwan Mohamed Ibrahim Date: Fri, 24 Apr 2020 18:39:18 +0530 Subject: [PATCH] Deselect the cell row when selected for add account view controller To avoid the highlighting even after the row is selected --- iOS/Settings/AddAccountViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/iOS/Settings/AddAccountViewController.swift b/iOS/Settings/AddAccountViewController.swift index abe901c63..db94f78df 100644 --- a/iOS/Settings/AddAccountViewController.swift +++ b/iOS/Settings/AddAccountViewController.swift @@ -32,6 +32,7 @@ class AddAccountViewController: UITableViewController, AddAccountDismissDelegate #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