From e428a4f7856ee5a237f6f890e05618d8709bddfc Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 3 Jun 2019 05:13:55 -0500 Subject: [PATCH] Prevent add controllers from using the whole screen. Issue #710 --- iOS/Settings/AddAccountViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iOS/Settings/AddAccountViewController.swift b/iOS/Settings/AddAccountViewController.swift index c4e7a6285..d1587758a 100644 --- a/iOS/Settings/AddAccountViewController.swift +++ b/iOS/Settings/AddAccountViewController.swift @@ -27,11 +27,13 @@ class AddAccountViewController: UITableViewController, AddAccountDismissDelegate switch indexPath.row { case 0: let navController = UIStoryboard.settings.instantiateViewController(withIdentifier: "AddLocalAccountNavigationViewController") as! UINavigationController + navController.modalPresentationStyle = .currentContext let addViewController = navController.topViewController as! AddLocalAccountViewController addViewController.delegate = self present(navController, animated: true) case 1: let navController = UIStoryboard.settings.instantiateViewController(withIdentifier: "FeedbinAccountNavigationViewController") as! UINavigationController + navController.modalPresentationStyle = .currentContext let addViewController = navController.topViewController as! FeedbinAccountViewController addViewController.delegate = self present(navController, animated: true)