From 3e97754ab9d7fc1c6909051566b2379dc88909bf Mon Sep 17 00:00:00 2001 From: Phil Viso Date: Wed, 22 May 2019 20:31:01 -0500 Subject: [PATCH] Removed navigation controller from storyboard for add account view controller --- iOS/Settings/AddAccountViewController.swift | 3 +-- iOS/Settings/Settings.storyboard | 28 +++++---------------- 2 files changed, 7 insertions(+), 24 deletions(-) diff --git a/iOS/Settings/AddAccountViewController.swift b/iOS/Settings/AddAccountViewController.swift index 8261db2b5..e3bdf31b3 100644 --- a/iOS/Settings/AddAccountViewController.swift +++ b/iOS/Settings/AddAccountViewController.swift @@ -26,8 +26,7 @@ class AddAccountViewController: UITableViewController, AddAccountDismissDelegate override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { switch indexPath.row { case 0: - let navController = UIStoryboard.settings.instantiateViewController(withIdentifier: "AddLocalAccountNavigationViewController") as! UINavigationController - let addViewController = navController.topViewController as! AddLocalAccountViewController + let addViewController = UIStoryboard.settings.instantiateViewController(withIdentifier: "AddLocalAccountViewController") as! AddLocalAccountViewController addViewController.delegate = self navigationController?.pushViewController(addViewController, animated: true) case 1: diff --git a/iOS/Settings/Settings.storyboard b/iOS/Settings/Settings.storyboard index f5bbf677b..011da8f45 100644 --- a/iOS/Settings/Settings.storyboard +++ b/iOS/Settings/Settings.storyboard @@ -438,7 +438,7 @@ - + @@ -517,10 +517,10 @@ - + - + @@ -536,7 +536,7 @@ - + @@ -545,7 +545,7 @@